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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding PodIpAllocationMode.
    • values

      public static Collection<PodIpAllocationMode> values()
      Gets known PodIpAllocationMode values.
      Returns:
      known PodIpAllocationMode values.