Move GKE applications from one node-pool to another

2/26/2020

I'm changing instance type of GKE cluster nodes from x to y, I have made new node-pool with the y instances all good but how do I move all the helm applications from one node-pool to the new one ?

-- CptDolphin
google-cloud-platform
google-kubernetes-engine
kubernetes

1 Answer

2/26/2020

Give your node pools labels, e.g node-pool-type = old and node-pool-type = new. In your pod definition, include match-labels = new in spec.selector and restart your pods.

-- Frederik Bode
Source: StackOverflow