LinuxNodeConfig

Parameters that can be configured on Linux nodes.

JSON representation
{
  "sysctls": {
    string: string,
    ...
  },
  "cgroupMode": enum (CgroupMode),
  "hugepages": {
    object (HugepagesConfig)
  }
}
Fields
sysctls

map (key: string, value: string)

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

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

cgroupMode

enum (CgroupMode)

cgroupMode specifies the cgroup mode to be used on the node.

hugepages

object (HugepagesConfig)

Optional. Amounts for 2M and 1G hugepages

CgroupMode

Possible cgroup modes that can be used.

Enums
CGROUP_MODE_UNSPECIFIED CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
CGROUP_MODE_V1 CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
CGROUP_MODE_V2 CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.

HugepagesConfig

Hugepages amount in both 2m and 1g size

JSON representation
{
  "hugepageSize2m": integer,
  "hugepageSize1g": integer
}
Fields
hugepageSize2m

integer

Optional. Amount of 2M hugepages

hugepageSize1g

integer

Optional. Amount of 1G hugepages