Class LinuxNodeConfig (2.36.0rc0)

LinuxNodeConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Parameters that can be configured on Linux nodes.

Attributes

NameDescription
sysctls MutableMapping[str, str]
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 google.cloud.container_v1.types.LinuxNodeConfig.CgroupMode
cgroup_mode specifies the cgroup mode to be used on the node.

Classes

CgroupMode

CgroupMode(value)

Possible cgroup modes that can be used.

Values: CGROUP_MODE_UNSPECIFIED (0): CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used. CGROUP_MODE_V1 (1): CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image. CGROUP_MODE_V2 (2): CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.

SysctlsEntry

SysctlsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.