How to upgrade a cluster without losing my instance template

0 votes

I have a kubernetes cluster is running in Google Container Engine.

Once before I modified the machine-type by employing a totally different instance template.

I upgrade the kubernetes cluster using

gcloud container clusters upgrade CLUSTER_NAME --master
gcloud container clusters upgrade CLUSTER_NAME --cluster-version=1.2.1

After upgrade, it seems the NODE is rolled back to previous instance template.

How to upgrade the cluster while not losing my instance template?

Nov 6, 2019 in GCP by Karan
• 19,610 points
644 views

1 answer to this question.

0 votes
On an upgrade, GKE creates a new instance template with the machine type specified in your cluster (the MACHINE_TYPE column of the output of gcloud container clusters list).

So for now, after any node upgrade, you would have to go change the machine-type of the instance template again.
answered Nov 6, 2019 by anonymous
• 59,230 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
6,566 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
1,470 views
0 votes
1 answer

Cloud SQL of google cloud is IaaS or PaaS?

Cloud SQL is PAAS (Plaform As A ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
3,516 views
0 votes
1 answer
0 votes
1 answer

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,230 points
1,563 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