Interface LinuxNodeConfigOrBuilder (2.55.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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for cgroupMode.

getHugepages()

public abstract LinuxNodeConfig.HugepagesConfig getHugepages()

Optional. Amounts for 2M and 1G hugepages

optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinuxNodeConfig.HugepagesConfig

The hugepages.

getHugepagesOrBuilder()

public abstract LinuxNodeConfig.HugepagesConfigOrBuilder getHugepagesOrBuilder()

Optional. Amounts for 2M and 1G hugepages

optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LinuxNodeConfig.HugepagesConfigOrBuilder

getSysctls() (deprecated)

public abstract Map<String,String> getSysctls()

Use #getSysctlsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

hasHugepages()

public abstract boolean hasHugepages()

Optional. Amounts for 2M and 1G hugepages

optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hugepages field is set.