Class LinuxNodeConfig (2.58.0)

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

Attributes

Name Description
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.rmem_default 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 net.ipv4.tcp_max_orphans net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes
cgroup_mode google.cloud.container_v1.types.LinuxNodeConfig.CgroupMode
cgroup_mode specifies the cgroup mode to be used on the node.
hugepages google.cloud.container_v1.types.LinuxNodeConfig.HugepagesConfig
Optional. Amounts for 2M and 1G hugepages This field is a member of oneof_ _hugepages.
transparent_hugepage_enabled google.cloud.container_v1.types.LinuxNodeConfig.TransparentHugepageEnabled
Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.
transparent_hugepage_defrag google.cloud.container_v1.types.LinuxNodeConfig.TransparentHugepageDefrag
Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.

Classes

CgroupMode

CgroupMode(value)

Possible cgroup modes that can be used.

HugepagesConfig

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

SysctlsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

TransparentHugepageDefrag

TransparentHugepageDefrag(value)

Possible values for transparent hugepage defrag support.

TransparentHugepageEnabled

TransparentHugepageEnabled(value)

Possible values for transparent hugepage enabled support.