I have a GKE cluster I'm trying to switch the default node machine type on.
I have already tried:
I'd prefer to not re-create the cluster and re-apply all of my deployments/secrets/configs/etc.
k8s version: 1.14.10-gke.24
(Stable channel)
Cluster Type: Regional
Node pools allow association of processing nodes based on their characteristics. You can explicitly specify a pools list for a node. Node pools allow association of processing nodes based on their characteristics.
If one or more cluster nodes, or the cluster, is added to Server Manager, on the All Servers page, right-click the name of a node (or the name of the cluster), and then click Update Cluster.
The best approach to change/increase/decrease your node pool
specification would be with:
To migrate your workloads without incurring downtime, you need to:
node pool
. node pool
as unschedulable.node pool
.node pool
.node pool
.Your workload will be scheduled automatically onto a new node pool
.
Kubernetes, which is the cluster orchestration system of GKE clusters, automatically reschedules the evicted Pods to the new node pool as it drains the existing node pool.
There is official documentation about migrating your workload:
This tutorial demonstrates how to migrate workloads running on a GKE cluster to a new set of nodes within the same cluster without incurring downtime for your application. Such a migration can be useful if you want to migrate your workloads to nodes with a different machine type.
-- GKE: Migrating workloads to different machine types
Please take a look at above guide and let me know if you have any questions in that topic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With