Interface LinuxNodeConfigOrBuilder (2.34.0)

public interface LinuxNodeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSysctls(String key)

public abstract 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.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

map<string, string> sysctls = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCgroupMode()

public abstract LinuxNodeConfig.CgroupMode getCgroupMode()

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

.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;

Returns
TypeDescription
LinuxNodeConfig.CgroupMode

The cgroupMode.

getCgroupModeValue()

public abstract int getCgroupModeValue()

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

.google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for cgroupMode.

getSysctls() (deprecated)

public abstract Map<String,String> getSysctls()

Use #getSysctlsMap() instead.

Returns
TypeDescription
Map<String,String>

getSysctlsCount()

public abstract 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.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

map<string, string> sysctls = 1;

Returns
TypeDescription
int

getSysctlsMap()

public abstract 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.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

map<string, string> sysctls = 1;

Returns
TypeDescription
Map<String,String>

getSysctlsOrDefault(String key, String defaultValue)

public abstract 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.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

map<string, string> sysctls = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getSysctlsOrThrow(String key)

public abstract 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.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

map<string, string> sysctls = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String