Thursday, May 21, 2015

first gcloud command learning by example. HOW TO GET PASSWORD AND BEARERTOKEN FROM YOUR CLUSTER

$ gcloud alpha container clusters describe hello-world clusterApiVersion: 0.17.0 containerIpv4Cidr: 10.40.0.0/14 creationTimestamp: '2015-05-21T09:23:24+00:00' description: ming cluster 1 enableCloudLogging: true endpoint: 23.251.150.58 masterAuth: bearerToken: FRxE88jcslxxxtI password: FRxE88jcslNxxxPtI user: admin name: hello-world network: default nodeConfig: machineType: n1-standard-1 serviceAccounts: - email: default scopes: - https://www.googleapis.com/auth/compute - https://www.googleapis.com/auth/devstorage.read_only - https://www.googleapis.com/auth/logging.write sourceImage: https://www.googleapis.com/compute/v1/projects/google-containers/global/images/container-vm-v20150505 nodeRoutingPrefixSize: 24 numNodes: 1 selfLink: https://www.googleapis.com/container/v1beta1/projects/608411524514/zones/us-central1-a/clusters/hello-world servicesIpv4Cidr: 10.43.240.0/20 status: running zone: us-central1-a

No comments:

Post a Comment