Reference documentation and code samples for the Google Cloud Container V1 Client class MemoryManager.
The option enables the Kubernetes NUMA-aware Memory Manager feature.
Detailed description about the feature can be found here.
Generated from protobuf message google.container.v1.MemoryManager
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ 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. |
getPolicy
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.
Returns | |
---|---|
Type | Description |
string |
setPolicy
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |