Go-Language CI-CD Kubernetes Cluster Client
Provide easy to use infrastructure tools that collect information about K8S clusters as json database and order/execute helm charts installation.
Command provides some fetaures, as follow:
-
-command show
(clusters, nodes, instances) - Provides the list of available cluster, clusters, nodes, installations -
-command details
(cluster, node, instance) - Provides the list of specific cluster, cluster, node, installation -
-command discover
(nodes) - Discover New Kubernetes Added and Ready nodes and creates eventually nodes in the local configuration -
-command add
(cluster, node, instance) Add a node or an instance to a node -
-command remove
(cluster, node, instance) Remove a node or an instance from a node -
-command check
(cluster, node, instance) Verifies with kube-ctl commands the availability of the cluster, node cluster, etc... -
-command prepare
(instance) Prepare a spacific instance environment for installation purposes -
-command ensure
(instance) Verify first node with availability to deploy an helm instance, not taken yet -
-command help
(show, details, discover, add, remove, verify, prepare. ensure) Shows commands or command details (if used help )
Build command sample :
go build -buildmode=exe github.com/hellgate75/k8s-cli
Build command sample :
go get -u github.com/hellgate75/k8s-cli
Enjoy the experience.
The library is licensed with LGPL v. 3.0 clauses, with prior authorization of author before any production or commercial use. Use of this library or any extension is prohibited due to high risk of damages due to improper use. No warranty is provided for improper or unauthorized use of this library or any implementation.
Any request can be prompted to the author Fabrizio Torelli at the following email address: