Hi gangs, today I will share about my alias setup for Civo Cloud.
alias civo_create="civo kubernetes create kube-demo --wait && rm ~/.kube/config && civo kubernetes config kube-demo --save"
This first alias is for provision new kubernetes cluster(kube-demo) with basic configuration, and I also remove kube config file for easily replace new config with the new one.
alias civo_remove="civo kubernetes remove kube-demo"
This alias is for removing cluster when I finish my learning / project. Let's we try this alias
civo_create
As you can see, I just issue command civo_create
and cluster created in just 1 minute 58 sec, How cool is that!
Now Let's remove our cluster
civo_remove
Top comments (0)