Class SoleTenantConfig (2.59.0)

SoleTenantConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
node_affinities MutableSequence[google.cloud.container_v1.types.SoleTenantConfig.NodeAffinity]
NodeAffinities used to match to a shared sole tenant node group.
min_node_cpus int
Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group. This field is a member of oneof_ _min_node_cpus.

Classes

NodeAffinity

NodeAffinity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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>__.