Skip to content

Commit

Permalink
docs: clarified release channel defaulting behavior for create cluste…
Browse files Browse the repository at this point in the history
…r requests when release channel is unspecified

If release channel is left unspecified on cluster creation and a version is specified, the cluster is now enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID) instead of being enrolled in STATIC. This only affects clusters with node auto upgrades enabled and no explicit node version specified. To ensure new clusters are enrolled in static, explicitly specify that the cluster should not be enrolled in a channel.

PiperOrigin-RevId: 532773421
  • Loading branch information
Google APIs authored and Copybara-Service committed May 17, 2023
1 parent 93d69be commit 633d3c1
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,12 @@ message Cluster {
// Shielded Nodes configuration.
ShieldedNodes shielded_nodes = 40;

// Release channel configuration.
// Release channel configuration. If left unspecified on cluster creation and
// a version is specified, the cluster is enrolled in the most mature release
// channel where the version is available (first checking STABLE, then
// REGULAR, and finally RAPID). Otherwise, if no release channel
// configuration and no version is specified, the cluster is enrolled in the
// REGULAR channel with its default version.
ReleaseChannel release_channel = 41;

// Configuration for the use of Kubernetes Service Accounts in GCP IAM
Expand Down Expand Up @@ -2265,12 +2270,14 @@ message Operation {
//
// Examples:
//
// -
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
// -
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
// -
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
// -
// ##
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
//
// ##
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
//
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
string target_link = 7;

// [Output only] The name of the Google Compute Engine
Expand Down

0 comments on commit 633d3c1

Please sign in to comment.