This repository introduced tubectl
which is basically similar to kubectl
, tubectl
offers several commands and features like kubectl
. Currently supported commands of tubectl
is given below.
- Kind version: kind v0.9.0 go1.15.2 linux/amd64
- Kubernetes Server Version: v1.19.1
git clone https://github.com/shahincsejnu/client-go.git
: clone this repo in your local machinecd client-go
: go to the project client-go foldergo install
: create the binary of this project in your machine, which is namedtubectl
tubectl
: It will print "Hello From tubectl", this is basically for confirming successful setup
tubectl create deployment
: For creating a deployment (currently only default deployment will be created)tubectl get deployments
: For getting all the deployments in the default namespacetubectl delete deployment <deployment_name>
: For deleting the deployment named <deployment_name>tubectl update deployment --deploy=<deployment_name> --image=<image_name> --replica=<replica_count>
: For updating the deployment named <deployment_name> with the <image_name> and <replica_count>
tubectl get pods
: For getting all the pods in default namespacetubectl create pod
: For creating a pod (currently only default pod will be created)tubectl delete pod <pod_name>
: For deleting <pod_name> podtubectl update pod --podname=<pod_name> --image=<image>
: For updating the pod named <pod_name> with the