Skip to main content

lacework-global-767

When creating New Clusters - Automate Google Kubernetes Engine (GKE) version management using Release Channels (Automated)

Description

Subscribe to the Regular or Stable Release Channel to automate version upgrades to the GKE cluster and to reduce version management complexity to the number of features and level of stability required.

Remediation

Currently, cluster Release Channels are only configurable at cluster provisioning time.

Using Google Cloud Console:

  1. Go to Kubernetes Engine by visiting: https://console.cloud.google.com/kubernetes/list.
  2. Click CREATE, and choose CONFIGURE for the required cluster mode.
  3. Under the Control plane version heading, click the Release Channels button.
  4. Select the Regular or Stable channels from the Release Channel drop-down menu.
  5. Configure the rest of the cluster settings as required.
  6. Click CREATE.

Using Command Line:

Create a new cluster by running the following command:

gcloud container clusters create <cluster_name> --zone <cluster_zone> --release-channel <release_channel>

where <release_channel> is stable or regular, according to requirements.

References

https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels
https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades
https://cloud.google.com/kubernetes-engine/docs/how-to/maintenance-windows-and-exclusions