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
int
cgroup_mode specifies the cgroup mode to be used on the node.
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. Seehttps://docs.kernel.org/admin-guide/mm/transhuge.htmlfor more details.
↳ transparent_hugepage_defrag
int
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. Seehttps://docs.kernel.org/admin-guide/mm/transhuge.htmlfor more details.
getSysctls
The Linux kernel parameters to be applied to the nodes and all pods running
on the nodes.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Container V1 Client - Class LinuxNodeConfig (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.LinuxNodeConfig)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.LinuxNodeConfig)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.LinuxNodeConfig)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.LinuxNodeConfig)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.LinuxNodeConfig)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.LinuxNodeConfig)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.LinuxNodeConfig)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.LinuxNodeConfig)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.LinuxNodeConfig)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.LinuxNodeConfig)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.LinuxNodeConfig)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.LinuxNodeConfig)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.LinuxNodeConfig)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.LinuxNodeConfig)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.LinuxNodeConfig)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.LinuxNodeConfig)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.LinuxNodeConfig)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.LinuxNodeConfig)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.LinuxNodeConfig)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.LinuxNodeConfig)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.LinuxNodeConfig)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.LinuxNodeConfig)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.LinuxNodeConfig)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.LinuxNodeConfig)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.LinuxNodeConfig) \nReference documentation and code samples for the Google Cloud Container V1 Client class LinuxNodeConfig.\n\nParameters that can be configured on Linux nodes.\n\nGenerated from protobuf message `google.container.v1.LinuxNodeConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSysctls\n\nThe Linux kernel parameters to be applied to the nodes and all pods running\non the nodes.\n\nThe following parameters are supported.\nnet.core.busy_poll\nnet.core.busy_read\nnet.core.netdev_max_backlog\nnet.core.rmem_max\nnet.core.rmem_default\nnet.core.wmem_default\nnet.core.wmem_max\nnet.core.optmem_max\nnet.core.somaxconn\nnet.ipv4.tcp_rmem\nnet.ipv4.tcp_wmem\nnet.ipv4.tcp_tw_reuse\nnet.ipv4.tcp_max_orphans\nnet.netfilter.nf_conntrack_max\nnet.netfilter.nf_conntrack_buckets\nnet.netfilter.nf_conntrack_tcp_timeout_close_wait\nnet.netfilter.nf_conntrack_tcp_timeout_time_wait\nnet.netfilter.nf_conntrack_tcp_timeout_established\nnet.netfilter.nf_conntrack_acct\nkernel.shmmni\nkernel.shmmax\nkernel.shmall\nfs.aio-max-nr\nfs.file-max\nfs.inotify.max_user_instances\nfs.inotify.max_user_watches\nfs.nr_open\nvm.dirty_background_ratio\nvm.dirty_expire_centisecs\nvm.dirty_ratio\nvm.dirty_writeback_centisecs\nvm.max_map_count\nvm.overcommit_memory\nvm.overcommit_ratio\nvm.vfs_cache_pressure\nvm.swappiness\nvm.watermark_scale_factor\nvm.min_free_kbytes\n\n### setSysctls\n\nThe Linux kernel parameters to be applied to the nodes and all pods running\non the nodes.\n\nThe following parameters are supported.\nnet.core.busy_poll\nnet.core.busy_read\nnet.core.netdev_max_backlog\nnet.core.rmem_max\nnet.core.rmem_default\nnet.core.wmem_default\nnet.core.wmem_max\nnet.core.optmem_max\nnet.core.somaxconn\nnet.ipv4.tcp_rmem\nnet.ipv4.tcp_wmem\nnet.ipv4.tcp_tw_reuse\nnet.ipv4.tcp_max_orphans\nnet.netfilter.nf_conntrack_max\nnet.netfilter.nf_conntrack_buckets\nnet.netfilter.nf_conntrack_tcp_timeout_close_wait\nnet.netfilter.nf_conntrack_tcp_timeout_time_wait\nnet.netfilter.nf_conntrack_tcp_timeout_established\nnet.netfilter.nf_conntrack_acct\nkernel.shmmni\nkernel.shmmax\nkernel.shmall\nfs.aio-max-nr\nfs.file-max\nfs.inotify.max_user_instances\nfs.inotify.max_user_watches\nfs.nr_open\nvm.dirty_background_ratio\nvm.dirty_expire_centisecs\nvm.dirty_ratio\nvm.dirty_writeback_centisecs\nvm.max_map_count\nvm.overcommit_memory\nvm.overcommit_ratio\nvm.vfs_cache_pressure\nvm.swappiness\nvm.watermark_scale_factor\nvm.min_free_kbytes\n\n### getCgroupMode\n\ncgroup_mode specifies the cgroup mode to be used on the node.\n\n### setCgroupMode\n\ncgroup_mode specifies the cgroup mode to be used on the node.\n\n### getHugepages\n\nOptional. Amounts for 2M and 1G hugepages\n\n### hasHugepages\n\n### clearHugepages\n\n### setHugepages\n\nOptional. Amounts for 2M and 1G hugepages\n\n### getTransparentHugepageEnabled\n\nOptional. Transparent hugepage support for anonymous memory can be entirely\ndisabled (mostly for debugging purposes) or only enabled inside\nMADV_HUGEPAGE regions (to avoid the risk of consuming more memory\nresources) or enabled system wide.\n\nSee \u003chttps://docs.kernel.org/admin-guide/mm/transhuge.html\u003e\nfor more details.\n\n### setTransparentHugepageEnabled\n\nOptional. Transparent hugepage support for anonymous memory can be entirely\ndisabled (mostly for debugging purposes) or only enabled inside\nMADV_HUGEPAGE regions (to avoid the risk of consuming more memory\nresources) or enabled system wide.\n\nSee \u003chttps://docs.kernel.org/admin-guide/mm/transhuge.html\u003e\nfor more details.\n\n### getTransparentHugepageDefrag\n\nOptional. Defines the transparent hugepage defrag configuration on the\nnode. VM hugepage allocation can be managed by either limiting\ndefragmentation for delayed allocation or skipping it entirely for\nimmediate allocation only.\n\nSee \u003chttps://docs.kernel.org/admin-guide/mm/transhuge.html\u003e\nfor more details.\n\n### setTransparentHugepageDefrag\n\nOptional. Defines the transparent hugepage defrag configuration on the\nnode. VM hugepage allocation can be managed by either limiting\ndefragmentation for delayed allocation or skipping it entirely for\nimmediate allocation only.\n\nSee \u003chttps://docs.kernel.org/admin-guide/mm/transhuge.html\u003e\nfor more details."]]