Class: Google::Cloud::Container::V1::SoleTenantConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::SoleTenantConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1/cluster_service.rb
Overview
SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
Defined Under Namespace
Classes: NodeAffinity
Instance Attribute Summary collapse
-
#node_affinities ⇒ ::Array<::Google::Cloud::Container::V1::SoleTenantConfig::NodeAffinity>
NodeAffinities used to match to a shared sole tenant node group.
Instance Attribute Details
#node_affinities ⇒ ::Array<::Google::Cloud::Container::V1::SoleTenantConfig::NodeAffinity>
Returns NodeAffinities used to match to a shared sole tenant node group.
703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 703 class SoleTenantConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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). # @!attribute [rw] key # @return [::String] # Key for NodeAffinity. # @!attribute [rw] operator # @return [::Google::Cloud::Container::V1::SoleTenantConfig::NodeAffinity::Operator] # Operator for NodeAffinity. # @!attribute [rw] values # @return [::Array<::String>] # Values for NodeAffinity. class NodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Operator allows user to specify affinity or anti-affinity for the # given key values. module Operator # Invalid or unspecified affinity operator. OPERATOR_UNSPECIFIED = 0 # Affinity operator. IN = 1 # Anti-affinity operator. NOT_IN = 2 end end end |