PodIpAllocationMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. PodIpAllocationMode
- com.
- com.
public final class PodIpAllocationMode
extends 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
| Modifier and Type | Field and Description |
|---|---|
|
static final
Pod |
DYNAMIC_INDIVIDUAL
Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. |
|
static final
Pod |
STATIC_BLOCK
Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the max |
Constructor Summary
| Constructor | Description |
|---|---|
| PodIpAllocationMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Pod |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pod |
fromString(String name)
Creates or finds a Pod |
|
static
Collection<Pod |
values()
Gets known Pod |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DYNAMIC_INDIVIDUAL
public static final PodIpAllocationMode 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
public static final 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
public PodIpAllocationMode()
Deprecated
Creates a new instance of PodIpAllocationMode value.
Method Details
fromString
public static PodIpAllocationMode fromString(String name)
Creates or finds a PodIpAllocationMode from its string representation.
Parameters:
Returns:
values
public static Collection<PodIpAllocationMode> values()
Gets known PodIpAllocationMode values.
Returns: