Update Maintenance Exclusion¶
This section will guide you through updating the maintenance exclusion of your GKE cluster based on the release schedule of your new Kubernetes version.
Overview
What You’ll Need¶
- A configured management environment.
- An existing GKE cluster.
Procedure¶
Save the name of the existing maintenance exclusion:
root@rok-tools:~# export GKE_EXCLUSION_OLD=${GKE_EXCLUSION?}Follow the procedure in the Restrict Auto-Upgrades guide to set up a new maintenance exclusion for your new Kubernetes version. Then return to this guide and proceed with the rest of it.
Delete the old maintenance exclusion:
root@rok-tools:~# gcloud container clusters update ${GKE_CLUSTER?} \ > --remove-maintenance-exclusion ${GKE_EXCLUSION_OLD?} Updating arrikto-cluster...done. Updated [https://container.googleapis.com/v1/projects/myproject/zones/us-east1-b/clusters/arrikto-cluster]. To inspect the contents of your cluster, go to: https://console.cloud.google.com/kubernetes/workload_/gcloud/us-east1-b/arrikto-cluster?project=myproject
Verify¶
- Follow the Verify section of the Restrict Auto-Upgrades guide to ensure that you have properly set up a maintenance exclusion for your new Kubernetes version. Then return to this guide and proceed with the rest of it.
What’s Next¶
The next step is to configure the Rok Scheduler for the Kubernetes version of your GKE cluster.