Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ gcloud alpha container clusters create hello-world --num-nodes 1 --machine-type n1-standard-1
- Creating cluster hello-world...done.
- Created [https://www.googleapis.com/container/v1beta1/projects/com-project-default/zones/europe-west1-c/clusters/hello-world].
- kubeconfig entry generated for hello-world. To switch context to the cluster, run
- $ kubectl config use-context gke_com-project-default_europe-west1-c_hello-world
- NAME ZONE CLUSTER_API_VERSION MASTER_IP MACHINE_TYPE NODES STATUS
- hello-world europe-west1-c 0.18.2 130.211.69.217 n1-standard-1, container-vm-v20150505 1 running
- $ gcloud compute instances list
- NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
- k8s-hello-world-a502b65e-node-709m europe-west1-c n1-standard-1 10.240.38.203 104.155.7.213 RUNNING
- k8s-hello-world-master europe-west1-c n1-standard-1 10.240.189.67 130.211.69.217 RUNNING
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement