Class: Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

PlacementPolicy defines the placement policy used by the node pool.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#type::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type

Returns The type of placement.



3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3420

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