Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::SoleTenantConfig (v1.9.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::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::V1::SoleTenantConfig::NodeAffinity>
Returns

#node_affinities=

def node_affinities=(value) -> ::Array<::Google::Cloud::Container::V1::SoleTenantConfig::NodeAffinity>
Parameter
Returns