GKE: Finding your cluster's release channel

3/20/2020

I can't seem to find my GKE cluster's release channel.

According to the docs, I should run

gcloud beta container clusters describe cluster-name \
  --zone compute-zone --format="value(releaseChannel.channel)"

But when I run it, there doesn't appear to be a releaseChannel field. I also can't find it in the web console. Is there some other way to find it?

-- Jesse Shieh
gcloud
google-cloud-platform
google-kubernetes-engine

1 Answer

3/20/2020

Your GKE Kubernetes cluster has an option to be created with Master version of:

  • Release channel:
    • Rapid
    • Regular
    • Stable
  • Static version:

You will not get your Release channel information when cluster was created with Static version.

Example: I created 2 GKE clusters:

  • gke-release-channel with option of Release channel: Stable
  • gke-static-version with Static version: 1.14.10-gke.24

Checking the release channel with gke-release-channel with below command:

$ gcloud beta container clusters describe gke-release-channel --zone europe-west3-c --format="value(releaseChannel.channel)"

Will output: STABLE

Checking the release channel with gke-static-version with below command:

$ gcloud beta container clusters describe gke-static-version --zone europe-west3-c --format="value(releaseChannel.channel)"

The output will be empty


When creating a cluster please take a specific look on:

Master version

If you created your cluster with Release channel you can check it by going into it's cluster details. It should be on the top:

Release channel

-- Dawid Kruk
Source: StackOverflow