Skip to content

Commit cf6f9ee

Browse files
Google APIscopybara-github
Google APIs
authored andcommitted
feat: add support for NodeConfig Update
--- feat: publicize tpu topology in v1 API PiperOrigin-RevId: 560116372
1 parent 55c97e0 commit cf6f9ee

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

google/container/v1/cluster_service.proto

+22
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.

0 commit comments

Comments
 (0)