public final class LinuxNodeConfig extends GeneratedMessageV3 implements LinuxNodeConfigOrBuilder
Parameters that can be configured on Linux nodes.
Protobuf type google.container.v1beta1.LinuxNodeConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CGROUP_MODE_FIELD_NUMBER
public static final int CGROUP_MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HUGEPAGES_FIELD_NUMBER
public static final int HUGEPAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SYSCTLS_FIELD_NUMBER
public static final int SYSCTLS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRANSPARENT_HUGEPAGE_DEFRAG_FIELD_NUMBER
public static final int TRANSPARENT_HUGEPAGE_DEFRAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRANSPARENT_HUGEPAGE_ENABLED_FIELD_NUMBER
public static final int TRANSPARENT_HUGEPAGE_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LinuxNodeConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LinuxNodeConfig.Builder newBuilder()
newBuilder(LinuxNodeConfig prototype)
public static LinuxNodeConfig.Builder newBuilder(LinuxNodeConfig prototype)
public static LinuxNodeConfig parseDelimitedFrom(InputStream input)
public static LinuxNodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LinuxNodeConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LinuxNodeConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig parseFrom(CodedInputStream input)
public static LinuxNodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig parseFrom(InputStream input)
public static LinuxNodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LinuxNodeConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LinuxNodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LinuxNodeConfig> parser()
Methods
containsSysctls(String key)
public boolean containsSysctls(String key)
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
map<string, string> sysctls = 1;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCgroupMode()
public LinuxNodeConfig.CgroupMode getCgroupMode()
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
getCgroupModeValue()
public int getCgroupModeValue()
cgroup_mode specifies the cgroup mode to be used on the node.
.google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for cgroupMode.
|
getDefaultInstanceForType()
public LinuxNodeConfig getDefaultInstanceForType()
getHugepages()
public LinuxNodeConfig.HugepagesConfig getHugepages()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
getHugepagesOrBuilder()
public LinuxNodeConfig.HugepagesConfigOrBuilder getHugepagesOrBuilder()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<LinuxNodeConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSysctls() (deprecated)
public Map<String,String> getSysctls()
getSysctlsCount()
public int getSysctlsCount()
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
map<string, string> sysctls = 1;
Returns |
Type |
Description |
int |
|
getSysctlsMap()
public Map<String,String> getSysctlsMap()
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
map<string, string> sysctls = 1;
getSysctlsOrDefault(String key, String defaultValue)
public String getSysctlsOrDefault(String key, String defaultValue)
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
map<string, string> sysctls = 1;
Returns |
Type |
Description |
String |
|
getSysctlsOrThrow(String key)
public String getSysctlsOrThrow(String key)
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
map<string, string> sysctls = 1;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getTransparentHugepageDefrag()
public LinuxNodeConfig.TransparentHugepageDefrag getTransparentHugepageDefrag()
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.
.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL];
getTransparentHugepageDefragValue()
public int getTransparentHugepageDefragValue()
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.
.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for transparentHugepageDefrag.
|
getTransparentHugepageEnabled()
public LinuxNodeConfig.TransparentHugepageEnabled getTransparentHugepageEnabled()
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.
.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
getTransparentHugepageEnabledValue()
public int getTransparentHugepageEnabledValue()
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.
.google.container.v1beta1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for transparentHugepageEnabled.
|
hasHugepages()
public boolean hasHugepages()
Optional. Amounts for 2M and 1G hugepages
optional .google.container.v1beta1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the hugepages field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LinuxNodeConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LinuxNodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LinuxNodeConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides