Reference documentation and code samples for the Google Cloud Container V1 Client class LinuxNodeConfig.
Parameters that can be configured on Linux nodes.
Generated from protobuf message google.container.v1.LinuxNodeConfig
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sysctls |
array|Google\Protobuf\Internal\MapField
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse |
↳ cgroup_mode |
int
cgroup_mode specifies the cgroup mode to be used on the node. |
↳ hugepages |
Google\Cloud\Container\V1\LinuxNodeConfig\HugepagesConfig
Optional. Amounts for 2M and 1G hugepages |
getSysctls
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.
The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setSysctls
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.
The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCgroupMode
cgroup_mode specifies the cgroup mode to be used on the node.
| Returns | |
|---|---|
| Type | Description |
int |
|
setCgroupMode
cgroup_mode specifies the cgroup mode to be used on the node.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHugepages
Optional. Amounts for 2M and 1G hugepages
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Container\V1\LinuxNodeConfig\HugepagesConfig|null |
|
hasHugepages
clearHugepages
setHugepages
Optional. Amounts for 2M and 1G hugepages
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Container\V1\LinuxNodeConfig\HugepagesConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|