Class PodIpAllocationMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PodIpAllocationMode>
com.azure.resourcemanager.containerservice.models.PodIpAllocationMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PodIpAllocationMode
extends com.azure.core.util.ExpandableStringEnum<PodIpAllocationMode>
Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default
is 'DynamicIndividual'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PodIpAllocationModeEach node gets allocated with a non-contiguous list of IP addresses assignable to pods.static final PodIpAllocationModeEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PodIpAllocationModefromString(String name) Creates or finds a PodIpAllocationMode from its string representation.static Collection<PodIpAllocationMode> values()Gets known PodIpAllocationMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DYNAMIC_INDIVIDUAL
Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode. -
STATIC_BLOCK
Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger.
-
-
Constructor Details
-
PodIpAllocationMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of PodIpAllocationMode value.
-
-
Method Details
-
fromString
Creates or finds a PodIpAllocationMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PodIpAllocationMode.
-
values
Gets known PodIpAllocationMode values.- Returns:
- known PodIpAllocationMode values.
-
fromString(String)factory method.