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
• 10,080 points
53 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
• 53,110 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
• 53,110 points
895 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
• 53,110 points
197 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
• 53,110 points
434 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
• 53,110 points
274 views