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:
- Go to Kubernetes Engine by visiting: https://console.cloud.google.com/kubernetes/list.
- Click
CREATE
, and chooseCONFIGURE
for the required cluster mode. - Under the Control plane version heading, click the
Release Channels
button. - Select the
Regular
orStable
channels from the Release Channel drop-down menu. - Configure the rest of the cluster settings as required.
- 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