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 in GCP by Karan
• 5,500 points
15 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 by anonymous
• 37,480 points

Related Questions In GCP

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 in GCP by Sirajul
• 37,480 points
124 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 in GCP by Sirajul
• 37,480 points
29 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 in GCP by Sirajul
• 37,480 points
40 views
0 votes
1 answer