Class: Google::Apis::ContainerV1beta1::MemoryManager

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found here.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MemoryManager

Returns a new instance of MemoryManager.



5595
5596
5597
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5595

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policyString

Controls the memory management policy on the Node. See https://kubernetes.io/ docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * "none" * "static" The default value is 'none' if unspecified. Corresponds to the JSON property policy

Returns:

  • (String)


5593
5594
5595
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5593

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5600
5601
5602
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5600

def update!(**args)
  @policy = args[:policy] if args.key?(:policy)
end