Google Kubernetes Engine

To list all Kubernetes clusters, run

gcloud container clusters list

To create a Kubernetes cluster, run

gcloud container clusters create CLUSTER_NAME

Get credential for kubectl

gcloud container clusters get-credentials CLUSTER_NAME

List all nodes (GCP instances)

kubectl get nodes

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *