Skip to content

Commit

Permalink
feat: add support for NodeConfig Update
Browse files Browse the repository at this point in the history
---
feat: publicize tpu topology in v1 API
PiperOrigin-RevId: 560116372
  • Loading branch information
Google APIs authored and copybara-github committed Aug 25, 2023
1 parent 55c97e0 commit cf6f9ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2707,6 +2707,24 @@ message UpdateNodePoolRequest {

// Parameters that can be configured on Windows nodes.
WindowsNodeConfig windows_node_config = 34;

// Optional. The desired [Google Compute Engine machine
// type](https://cloud.google.com/compute/docs/machine-types) for nodes in the
// node pool. Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified machine type.
string machine_type = 36 [(google.api.field_behavior) = OPTIONAL];

// Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or
// 'pd-balanced') for nodes in the node pool.
// Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified disk type.
string disk_type = 37 [(google.api.field_behavior) = OPTIONAL];

// Optional. The desired disk size for nodes in the node pool specified in GB.
// The smallest allowed disk size is 10GB.
// Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified disk size.
int64 disk_size_gb = 38 [(google.api.field_behavior) = OPTIONAL];
}

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

// Optional. TPU placement topology for pod slice node pool.
// https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
string tpu_topology = 2 [(google.api.field_behavior) = OPTIONAL];

// If set, refers to the name of a custom resource policy supplied by the
// user. The resource policy must be in the same project and region as the
// node pool. If not found, InvalidArgument error is returned.
Expand Down

0 comments on commit cf6f9ee

Please sign in to comment.