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
• 16,330 points
80 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
• 57,940 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
• 57,940 points
1,596 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
• 57,940 points
309 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
• 57,940 points
707 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
• 57,940 points
443 views