Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::SoleTenantConfig.
SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#min_node_cpus
def min_node_cpus() -> ::Integer
Returns
- (::Integer) — 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.
#min_node_cpus=
def min_node_cpus=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#node_affinities
def node_affinities() -> ::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>
Returns
- (::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>) — NodeAffinities used to match to a shared sole tenant node group.
#node_affinities=
def node_affinities=(value) -> ::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>
Parameter
- value (::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>) — NodeAffinities used to match to a shared sole tenant node group.
Returns
- (::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>) — NodeAffinities used to match to a shared sole tenant node group.