How to update Kubernetes Cluster to the latest ver

2020-03-17 07:26发布

问题:

I began to try Google Container Engine recently. I would you like to upgrade the Kubernetes Cluster to the latest version available, if possible without downtime. Is there any way to do this?

回答1:

Unfortunately, the best answer we currently have is to create a new cluster and move your resources over, then delete the old one.

We are very actively working on making cluster upgrades reliable (both nodes and the master), but upgrades are unlikely to work for the majority of currently existing clusters.



回答2:

We now have a checked-in upgrade tool for master and nodes: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/gce/upgrade.sh