Interface NodeNetworkConfigOrBuilder (2.34.0)

public interface NodeNetworkConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdditionalNodeNetworkConfigs(int index)

public abstract AdditionalNodeNetworkConfig getAdditionalNodeNetworkConfigs(int index)

We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

repeated .google.container.v1.AdditionalNodeNetworkConfig additional_node_network_configs = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
AdditionalNodeNetworkConfig

getAdditionalNodeNetworkConfigsCount()

public abstract int getAdditionalNodeNetworkConfigsCount()

We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

repeated .google.container.v1.AdditionalNodeNetworkConfig additional_node_network_configs = 14;

Returns
TypeDescription
int

getAdditionalNodeNetworkConfigsList()

public abstract List<AdditionalNodeNetworkConfig> getAdditionalNodeNetworkConfigsList()

We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

repeated .google.container.v1.AdditionalNodeNetworkConfig additional_node_network_configs = 14;

Returns
TypeDescription
List<AdditionalNodeNetworkConfig>

getAdditionalNodeNetworkConfigsOrBuilder(int index)

public abstract AdditionalNodeNetworkConfigOrBuilder getAdditionalNodeNetworkConfigsOrBuilder(int index)

We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

repeated .google.container.v1.AdditionalNodeNetworkConfig additional_node_network_configs = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
AdditionalNodeNetworkConfigOrBuilder

getAdditionalNodeNetworkConfigsOrBuilderList()

public abstract List<? extends AdditionalNodeNetworkConfigOrBuilder> getAdditionalNodeNetworkConfigsOrBuilderList()

We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

repeated .google.container.v1.AdditionalNodeNetworkConfig additional_node_network_configs = 14;

Returns
TypeDescription
List<? extends com.google.container.v1.AdditionalNodeNetworkConfigOrBuilder>

getAdditionalPodNetworkConfigs(int index)

public abstract AdditionalPodNetworkConfig getAdditionalPodNetworkConfigs(int index)

We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

repeated .google.container.v1.AdditionalPodNetworkConfig additional_pod_network_configs = 15;

Parameter
NameDescription
indexint
Returns
TypeDescription
AdditionalPodNetworkConfig

getAdditionalPodNetworkConfigsCount()

public abstract int getAdditionalPodNetworkConfigsCount()

We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

repeated .google.container.v1.AdditionalPodNetworkConfig additional_pod_network_configs = 15;

Returns
TypeDescription
int

getAdditionalPodNetworkConfigsList()

public abstract List<AdditionalPodNetworkConfig> getAdditionalPodNetworkConfigsList()

We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

repeated .google.container.v1.AdditionalPodNetworkConfig additional_pod_network_configs = 15;

Returns
TypeDescription
List<AdditionalPodNetworkConfig>

getAdditionalPodNetworkConfigsOrBuilder(int index)

public abstract AdditionalPodNetworkConfigOrBuilder getAdditionalPodNetworkConfigsOrBuilder(int index)

We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

repeated .google.container.v1.AdditionalPodNetworkConfig additional_pod_network_configs = 15;

Parameter
NameDescription
indexint
Returns
TypeDescription
AdditionalPodNetworkConfigOrBuilder

getAdditionalPodNetworkConfigsOrBuilderList()

public abstract List<? extends AdditionalPodNetworkConfigOrBuilder> getAdditionalPodNetworkConfigsOrBuilderList()

We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

repeated .google.container.v1.AdditionalPodNetworkConfig additional_pod_network_configs = 15;

Returns
TypeDescription
List<? extends com.google.container.v1.AdditionalPodNetworkConfigOrBuilder>

getCreatePodRange()

public abstract boolean getCreatePodRange()

Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified.

If neither create_pod_range or pod_range are specified, the cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block) is used.

Only applicable if ip_allocation_policy.use_ip_aliases is true.

This field cannot be changed after the node pool has been created.

bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

The createPodRange.

getEnablePrivateNodes()

public abstract boolean getEnablePrivateNodes()

Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes

optional bool enable_private_nodes = 9;

Returns
TypeDescription
boolean

The enablePrivateNodes.

getNetworkPerformanceConfig()

public abstract NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig()

Network bandwidth tier configuration.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;

Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfig

The networkPerformanceConfig.

getNetworkPerformanceConfigOrBuilder()

public abstract NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()

Network bandwidth tier configuration.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;

Returns
TypeDescription
NodeNetworkConfig.NetworkPerformanceConfigOrBuilder

getPodCidrOverprovisionConfig()

public abstract PodCIDROverprovisionConfig getPodCidrOverprovisionConfig()

[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool.

Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26).

This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.

.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;

Returns
TypeDescription
PodCIDROverprovisionConfig

The podCidrOverprovisionConfig.

getPodCidrOverprovisionConfigOrBuilder()

public abstract PodCIDROverprovisionConfigOrBuilder getPodCidrOverprovisionConfigOrBuilder()

[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool.

Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26).

This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.

.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;

Returns
TypeDescription
PodCIDROverprovisionConfigOrBuilder

getPodIpv4CidrBlock()

public abstract String getPodIpv4CidrBlock()

The IP address range for pod IPs in this node pool.

Only applicable if create_pod_range is true.

Set to blank to have a range chosen with the default size.

Set to /netmask (e.g. /14) to have a range chosen with a specific netmask.

Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use.

Only applicable if ip_allocation_policy.use_ip_aliases is true.

This field cannot be changed after the node pool has been created.

string pod_ipv4_cidr_block = 6;

Returns
TypeDescription
String

The podIpv4CidrBlock.

getPodIpv4CidrBlockBytes()

public abstract ByteString getPodIpv4CidrBlockBytes()

The IP address range for pod IPs in this node pool.

Only applicable if create_pod_range is true.

Set to blank to have a range chosen with the default size.

Set to /netmask (e.g. /14) to have a range chosen with a specific netmask.

Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use.

Only applicable if ip_allocation_policy.use_ip_aliases is true.

This field cannot be changed after the node pool has been created.

string pod_ipv4_cidr_block = 6;

Returns
TypeDescription
ByteString

The bytes for podIpv4CidrBlock.

getPodIpv4RangeUtilization()

public abstract double getPodIpv4RangeUtilization()

Output only. [Output only] The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodesnumZonespodIPsPerNode.

double pod_ipv4_range_utilization = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
double

The podIpv4RangeUtilization.

getPodRange()

public abstract String getPodRange()

The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID.

Only applicable if ip_allocation_policy.use_ip_aliases is true.

This field cannot be changed after the node pool has been created.

string pod_range = 5;

Returns
TypeDescription
String

The podRange.

getPodRangeBytes()

public abstract ByteString getPodRangeBytes()

The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID.

Only applicable if ip_allocation_policy.use_ip_aliases is true.

This field cannot be changed after the node pool has been created.

string pod_range = 5;

Returns
TypeDescription
ByteString

The bytes for podRange.

hasEnablePrivateNodes()

public abstract boolean hasEnablePrivateNodes()

Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes

optional bool enable_private_nodes = 9;

Returns
TypeDescription
boolean

Whether the enablePrivateNodes field is set.

hasNetworkPerformanceConfig()

public abstract boolean hasNetworkPerformanceConfig()

Network bandwidth tier configuration.

optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;

Returns
TypeDescription
boolean

Whether the networkPerformanceConfig field is set.

hasPodCidrOverprovisionConfig()

public abstract boolean hasPodCidrOverprovisionConfig()

[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool.

Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26).

This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.

.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;

Returns
TypeDescription
boolean

Whether the podCidrOverprovisionConfig field is set.