• 4

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Kubernetes upgrade rolled back machine type

My kubernetes cluster is running in Google Container Engine.

Once before I changed the machine-type by using a different instance template.

I am upgrading the kubernetes cluster with following command

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

After the upgrading, it seems the NODE is rolled back to previous instance template. How to upgrade the cluster without losing my instance template?

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.

  • 1
Reply Report
      • 2
    • Hope kubernetes can develop a new feature to allow modify the machine type after cluster creation

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags