How to create Kubernetes Cluster in GCP Cloud

0 votes

Hi Team,

I want to create a Kubernetes Cluster on top of GCP Cloud. So, I can perform all the Kubernetes concepts. Can anyone tell me how can I do that from the command line?

Nov 11, 2020 in GCP by akhtar
• 38,230 points
838 views

1 answer to this question.

0 votes

Hi@akhtar,

A cluster consists of at least one cluster control plane machine and multiple worker machines called nodes. Nodes are Compute Engine virtual machine (VM) instances that run the Kubernetes processes necessary to make them part of the cluster. You deploy applications to clusters, and the applications run on the nodes.

The following command creates a one-node cluster. Replace cluster-name with the name of your cluster.

$ gcloud container clusters create cluster-name --num-nodes=1
NAME        LOCATION    MASTER_VERSION   MASTER_IP      MACHINE_TYPE   NODE_VERSION     NUM_NODES  STATUS
newcluster  us-east1-b  xx.x.x-gke.401  xx.xx.xx.xx  n1-standard-1  xx.xxx.xx-gke.401  1          RUNNING
answered Nov 11, 2020 by MD
• 95,440 points

Related Questions In GCP

0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 24, 2019 in GCP by Sirajul
• 59,230 points
2,208 views
0 votes
1 answer
+2 votes
1 answer

How to create a VPC in GCP Cloud?

Hi@akhtar, You can create a private network in ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,440 points
827 views
+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,440 points
1,697 views
+2 votes
1 answer

How to enable new services to a project in GCP Cloud?

Hi@akhtar, You can enable new services to your ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,440 points
834 views
+2 votes
1 answer

How to install the Google Cloud SDK in Windows system?

Hi@akhtar, To install the Google Cloud SDK on ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,440 points
20,684 views
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,440 points
1,258 views
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,440 points
533 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP