JuliaKubernetesClient
A Julia package designed to facilitate communication with Kubernetes clusters through their RESTful APIs. It provides a comprehensive set of tools to manage and automate cluster resources programmatically.
Use
- To install the package in your project:
using Pkg
Pkg.add("https://git.nilu.no/fact/utils/JuliaKubernetesClient.jl.git")
- To use the package:
using JuliaKubernetesClient
Please refer to the package documentation for details on how to access Docker API: https://fact.pages.nilu.no/utils/JuliaKubernetesClient.jl/
Specifications
The package supports key operations such as:
- Cluster Interaction: Test API connectivity, retrieve cluster information, and handle authentication.
- Pod Management: Create, list, delete pods, and execute commands within containers.
- Deployment and Scaling: Deploy applications, manage replicas, and scale resources dynamically.
- Service Management: Create, list, and delete Kubernetes Services for exposing workloads.
- ConfigMap and Secret Management: Handle ConfigMaps for configuration and Secrets for sensitive data.
- Namespace Management: Organize resources by creating, listing, and deleting namespaces.
- Logging and Monitoring: Fetch logs from pods and watch real-time events for diagnostics.
- Custom Resource Management: Apply YAML/JSON manifests to create or update resources, and delete resources by type and name.
Notes
Very preliminary and under development. Mostly for internal use, with placeholder functions.
Author
Riccardo Boero - ribo@nilu.no
License
Citation
- Boero, Riccardo. 2024. “FACT Utils: Julia Kubernetes Client.” OSF. doi:10.17605/OSF.IO/M3FBP.
Part of the Fine scAle eConomic daTa - FACT project:
- Boero, Riccardo. 2024. “Fine scAle eConomic daTa - FACT.” OSF. doi:10.17605/OSF.IO/PV4ZW.