Skip to content

Commit d6e9adb

Browse files
Google APIscopybara-github
authored andcommitted
docs: clarified wording around the NodePoolUpdateStrategy default behavior
docs: add references for available node image types PiperOrigin-RevId: 505186848
1 parent c062caf commit d6e9adb

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

google/container/v1beta1/cluster_service.proto

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,9 @@ message NodeConfig {
676676
map<string, string> metadata = 4;
677677

678678
// The image type to use for this node. Note that for a given image type,
679-
// the latest version of it will be used.
679+
// the latest version of it will be used. Please see
680+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
681+
// available image types.
680682
string image_type = 5;
681683

682684
// The map of Kubernetes labels (key/value pairs) to be applied to each node.
@@ -2558,7 +2560,9 @@ message UpdateNodePoolRequest {
25582560
// - "-": picks the Kubernetes master version
25592561
string node_version = 5 [(google.api.field_behavior) = REQUIRED];
25602562

2561-
// Required. The desired image type for the node pool.
2563+
// Required. The desired image type for the node pool. Please see
2564+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
2565+
// available image types.
25622566
string image_type = 6 [(google.api.field_behavior) = REQUIRED];
25632567

25642568
// The desired list of Google Compute Engine
@@ -3876,7 +3880,9 @@ message AutoprovisioningNodePoolDefaults {
38763880
// https://cloud.google.com/compute/docs/disks/customer-managed-encryption
38773881
string boot_disk_kms_key = 9;
38783882

3879-
// The image type to use for NAP created node.
3883+
// The image type to use for NAP created node. Please see
3884+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
3885+
// available image types.
38803886
string image_type = 10;
38813887
}
38823888

@@ -4987,7 +4993,8 @@ message IdentityServiceConfig {
49874993

49884994
// Strategy used for node pool update.
49894995
enum NodePoolUpdateStrategy {
4990-
// Default value.
4996+
// Default value if unset. GKE internally defaults the update strategy to
4997+
// SURGE for unspecified strategies.
49914998
NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0;
49924999

49935000
// blue-green upgrade.

0 commit comments

Comments
 (0)