|
|
|
@ -813,6 +813,9 @@ message NodeConfig { |
|
|
|
|
// If unspecified, ephemeral storage is backed by the boot disk. |
|
|
|
|
// This field is functionally equivalent to the ephemeral_storage_config |
|
|
|
|
EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41; |
|
|
|
|
|
|
|
|
|
// Parameters for node pools to be backed by shared sole tenant node groups. |
|
|
|
|
SoleTenantConfig sole_tenant_config = 42; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Specifies options for controlling advanced machine features. |
|
|
|
@ -1018,6 +1021,40 @@ message ReservationAffinity { |
|
|
|
|
repeated string values = 3; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// SoleTenantConfig contains the NodeAffinities to specify what shared sole |
|
|
|
|
// tenant node groups should back the node pool. |
|
|
|
|
message SoleTenantConfig { |
|
|
|
|
// Specifies the NodeAffinity key, values, and affinity operator according to |
|
|
|
|
// [shared sole tenant node group |
|
|
|
|
// affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity). |
|
|
|
|
message NodeAffinity { |
|
|
|
|
// Operator allows user to specify affinity or anti-affinity for the |
|
|
|
|
// given key values. |
|
|
|
|
enum Operator { |
|
|
|
|
// Invalid or unspecified affinity operator. |
|
|
|
|
OPERATOR_UNSPECIFIED = 0; |
|
|
|
|
|
|
|
|
|
// Affinity operator. |
|
|
|
|
IN = 1; |
|
|
|
|
|
|
|
|
|
// Anti-affinity operator. |
|
|
|
|
NOT_IN = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Key for NodeAffinity. |
|
|
|
|
string key = 1; |
|
|
|
|
|
|
|
|
|
// Operator for NodeAffinity. |
|
|
|
|
Operator operator = 2; |
|
|
|
|
|
|
|
|
|
// Values for NodeAffinity. |
|
|
|
|
repeated string values = 3; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// NodeAffinities used to match to a shared sole tenant node group. |
|
|
|
|
repeated NodeAffinity node_affinities = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Kubernetes taint is composed of three fields: key, value, and effect. Effect |
|
|
|
|
// can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. |
|
|
|
|
// |
|
|
|
|