CptDolphin
CptDolphin

Reputation: 474

Move GKE applications from one node-pool to another

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 ?

Upvotes: 0

Views: 1260

Answers (1)

Frederik Bode
Frederik Bode

Reputation: 2744

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.

Upvotes: 2

Related Questions