Class: Google::Apis::ContainerV1beta1::MemoryManager
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::MemoryManager
- 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
-
#policy ⇒ String
Controls the memory management policy on the Node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemoryManager
constructor
A new instance of MemoryManager.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#policy ⇒ String
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
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 |