Skip to content

Commit b07e25f

Browse files
feat: [container] add UpdateNodePoolRequest.machine_type, disk_type, disk_size_gb (#4591)
* feat: add support for NodeConfig Update --- feat: publicize tpu topology in v1 API PiperOrigin-RevId: 560116372 Source-Link: googleapis/googleapis@cf6f9ee Source-Link: googleapis/googleapis-gen@b618aaf Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYjYxOGFhZmE2NDE3NDFhNTYxNWMyMTZiODc4NjAwNjViZGMzMGY4ZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add UpdateNodePoolRequest.machine_type, disk_type, disk_size_gb PiperOrigin-RevId: 560146115 Source-Link: googleapis/googleapis@35ffd82 Source-Link: googleapis/googleapis-gen@0b4e0dc Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMGI0ZTBkYzQyMDc5MzVjYzlmZWFhYmVjOTNiMTc0MWZmMjQ2ODFhZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b6cea45 commit b07e25f

11 files changed

Lines changed: 409 additions & 2 deletions

packages/google-container/protos/google/container/v1/cluster_service.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,6 +2707,24 @@ message UpdateNodePoolRequest {
27072707

27082708
// Parameters that can be configured on Windows nodes.
27092709
WindowsNodeConfig windows_node_config = 34;
2710+
2711+
// Optional. The desired [Google Compute Engine machine
2712+
// type](https://cloud.google.com/compute/docs/machine-types) for nodes in the
2713+
// node pool. Initiates an upgrade operation that migrates the nodes in the
2714+
// node pool to the specified machine type.
2715+
string machine_type = 36 [(google.api.field_behavior) = OPTIONAL];
2716+
2717+
// Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or
2718+
// 'pd-balanced') for nodes in the node pool.
2719+
// Initiates an upgrade operation that migrates the nodes in the
2720+
// node pool to the specified disk type.
2721+
string disk_type = 37 [(google.api.field_behavior) = OPTIONAL];
2722+
2723+
// Optional. The desired disk size for nodes in the node pool specified in GB.
2724+
// The smallest allowed disk size is 10GB.
2725+
// Initiates an upgrade operation that migrates the nodes in the
2726+
// node pool to the specified disk size.
2727+
int64 disk_size_gb = 38 [(google.api.field_behavior) = OPTIONAL];
27102728
}
27112729

27122730
// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
@@ -3427,6 +3445,10 @@ message NodePool {
34273445
// The type of placement.
34283446
Type type = 1;
34293447

3448+
// Optional. TPU placement topology for pod slice node pool.
3449+
// https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
3450+
string tpu_topology = 2 [(google.api.field_behavior) = OPTIONAL];
3451+
34303452
// If set, refers to the name of a custom resource policy supplied by the
34313453
// user. The resource policy must be in the same project and region as the
34323454
// node pool. If not found, InvalidArgument error is returned.

packages/google-container/protos/google/container/v1beta1/cluster_service.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3025,6 +3025,21 @@ message UpdateNodePoolRequest {
30253025

30263026
// Parameters that can be configured on Windows nodes.
30273027
WindowsNodeConfig windows_node_config = 34;
3028+
3029+
// Optional. The desired machine type for nodes in the node pool.
3030+
// Initiates an upgrade operation that migrates the nodes in the
3031+
// node pool to the specified machine type.
3032+
string machine_type = 36 [(google.api.field_behavior) = OPTIONAL];
3033+
3034+
// Optional. The desired disk type for nodes in the node pool.
3035+
// Initiates an upgrade operation that migrates the nodes in the
3036+
// node pool to the specified disk type.
3037+
string disk_type = 37 [(google.api.field_behavior) = OPTIONAL];
3038+
3039+
// Optional. The desired disk size for nodes in the node pool.
3040+
// Initiates an upgrade operation that migrates the nodes in the
3041+
// node pool to the specified disk size.
3042+
int64 disk_size_gb = 38 [(google.api.field_behavior) = OPTIONAL];
30283043
}
30293044

30303045
// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

packages/google-container/protos/protos.d.ts

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)