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.

Procedure

  1. Save the name of the existing maintenance exclusion:

    root@rok-tools:~# export GKE_EXCLUSION_OLD=${GKE_EXCLUSION?}
  2. 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.

  3. 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

  1. 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.

Summary

You have successfully updated the maintenance exclusion of your GKE cluster.

What’s Next

The next step is to configure the Rok Scheduler for the Kubernetes version of your GKE cluster.