Class: Google::Cloud::Container::V1::NodePool::PlacementPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::NodePool::PlacementPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1/cluster_service.rb
Overview
PlacementPolicy defines the placement policy used by the node pool.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#type ⇒ ::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type
The type of placement.
Instance Attribute Details
#type ⇒ ::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type
Returns The type of placement.
3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3157 class PlacementPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type defines the type of placement policy. module Type # TYPE_UNSPECIFIED specifies no requirements on nodes # placement. TYPE_UNSPECIFIED = 0 # COMPACT specifies node placement in the same availability domain to # ensure low communication latency. COMPACT = 1 end end |