gcloud
Intro
$ curl https://sdk.cloud.google.com | bash
exec -l $SHELL
$ gcloud auth login
GKE
$ gcloud components update kubectl
$ gcloud config set project keyolk
$ glcoud config set compute/zone asia-east1-a
$ gcloud config set container/cluster keyolk
$ gcloud config list
$ gcloud container clusters create keyolk --num-nodes 2 --machine-type g1-small
$ gcloud compute instances list
$ kubectl run tomcat --image=tomcat
$ gcloud container clusters delete keyolk
comments powered by