GCP | How to create kubernetes cluster with gcloud command

gcloud container clusters create command is used for creating a cluster for running containers. Below are steps for creating Kubernetes cluster with cloud command.

  • In the GCP Console, click Activate Cloud Shell and start Cloud shell
  • Set project , region, zone by following steps mentioned here
  • Run gcloud container clusters create command, this command will crate cluster "mycluster" with four nodes.
  • Navigate to Compute Engine > VM instances, to check newly created VMs in cluster.

  • Category: GCP