Advertisement
Guest User

Untitled

a guest
Jun 15th, 2015
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. $ gcloud alpha container clusters create hello-world --num-nodes 1 --machine-type n1-standard-1
  2. Creating cluster hello-world...done.
  3. Created [https://www.googleapis.com/container/v1beta1/projects/com-project-default/zones/europe-west1-c/clusters/hello-world].
  4. kubeconfig entry generated for hello-world. To switch context to the cluster, run
  5.  
  6. $ kubectl config use-context gke_com-project-default_europe-west1-c_hello-world
  7.  
  8. NAME ZONE CLUSTER_API_VERSION MASTER_IP MACHINE_TYPE NODES STATUS
  9. hello-world europe-west1-c 0.18.2 130.211.69.217 n1-standard-1, container-vm-v20150505 1 running
  10. $ gcloud compute instances list
  11. NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
  12. k8s-hello-world-a502b65e-node-709m europe-west1-c n1-standard-1 10.240.38.203 104.155.7.213 RUNNING
  13. 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