Skip to content
Snippets Groups Projects

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.


GitLab License DOI


Use

  1. To install the package in your project:
using Pkg
Pkg.add("https://git.nilu.no/fact/utils/JuliaKubernetesClient.jl.git")
  1. 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

AGPL v3

Citation

Part of the Fine scAle eConomic daTa - FACT project: