How to create a multi-zonal cluster using google kubernetes engine on GCP?

0 votes
Sep 27 in GCP by Sam
• 4,330 points
52 views

1 answer to this question.

0 votes

To create a multi-zone cluster, set --zone to the zone for the cluster control plane, and set --node-locations to a comma-separated list of compute zones where the control plane and nodes are created. 

Use one of the following commands depending on installing default or a specific version.

Using the default version:

gcloud container clusters create [CLUSTER_NAME] \
    --zone [COMPUTE_ZONE] \
    --node-locations [COMPUTE_ZONE],[COMPUTE_ZONE],[...]

Using a specific version:

Replace [VERSION] with a specific version.

gcloud container clusters create [CLUSTER_NAME] \
    --cluster-version [VERSION] \
    --zone [COMPUTE_ZONE] \
    --zone [COMPUTE_ZONE] \
    --node-locations [COMPUTE_ZONE],[COMPUTE_ZONE],[...]

answered Sep 27 by Sirajul
• 41,000 points

Related Questions In GCP

+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9 in GCP by K sagar
209 views
0 votes
1 answer

How to create a routes-based cluster on Gcloud?

In Google Kubernetes Engine, clusters can be ...READ MORE

answered Oct 31 in GCP by Sirajul
• 41,000 points
28 views
0 votes
1 answer

How to create a file on GCP storage?

In case you are using Cloud storage ...READ MORE

answered Nov 5 in GCP by Sirajul
• 41,000 points
27 views
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 46,110 points
83 views
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
3,496 views