Skip to content

Commit 633d3c1

Browse files
Google APIscopybara-github
authored andcommitted
docs: clarified release channel defaulting behavior for create cluster 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
1 parent 93d69be commit 633d3c1

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

google/container/v1/cluster_service.proto

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,12 @@ message Cluster {
17131713
// Shielded Nodes configuration.
17141714
ShieldedNodes shielded_nodes = 40;
17151715

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

17191724
// Configuration for the use of Kubernetes Service Accounts in GCP IAM
@@ -2265,12 +2270,14 @@ message Operation {
22652270
//
22662271
// Examples:
22672272
//
2268-
// -
2269-
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
2270-
// -
2271-
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
2272-
// -
2273-
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
2273+
// -
2274+
// ##
2275+
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
2276+
//
2277+
// ##
2278+
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
2279+
//
2280+
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
22742281
string target_link = 7;
22752282

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

0 commit comments

Comments
 (0)