Skip to content

Commit c062caf

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: 505182579
1 parent 2159ddc commit c062caf

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

google/container/v1/cluster_service.proto

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

686686
// The image type to use for this node. Note that for a given image type,
687-
// the latest version of it will be used.
687+
// the latest version of it will be used. Please see
688+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
689+
// available image types.
688690
string image_type = 5;
689691

690692
// The map of Kubernetes labels (key/value pairs) to be applied to each node.
@@ -2299,7 +2301,9 @@ message UpdateNodePoolRequest {
22992301
// - "-": picks the Kubernetes master version
23002302
string node_version = 5 [(google.api.field_behavior) = REQUIRED];
23012303

2302-
// Required. The desired image type for the node pool.
2304+
// Required. The desired image type for the node pool. Please see
2305+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
2306+
// available image types.
23032307
string image_type = 6 [(google.api.field_behavior) = REQUIRED];
23042308

23052309
// The name (project, location, cluster, node pool) of the node pool to
@@ -3527,7 +3531,9 @@ message AutoprovisioningNodePoolDefaults {
35273531
// https://cloud.google.com/compute/docs/disks/customer-managed-encryption
35283532
string boot_disk_kms_key = 9;
35293533

3530-
// The image type to use for NAP created node.
3534+
// The image type to use for NAP created node. Please see
3535+
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
3536+
// available image types.
35313537
string image_type = 10;
35323538
}
35333539

@@ -4596,7 +4602,8 @@ enum DatapathProvider {
45964602

45974603
// Strategy used for node pool update.
45984604
enum NodePoolUpdateStrategy {
4599-
// Default value.
4605+
// Default value if unset. GKE internally defaults the update strategy to
4606+
// SURGE for unspecified strategies.
46004607
NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0;
46014608

46024609
// blue-green upgrade.

0 commit comments

Comments
 (0)