PodIPAllocationMode Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'. Serialized Name: PodIPAllocationMode
public readonly struct PodIPAllocationMode : IEquatable<Azure.ResourceManager.ContainerService.Models.PodIPAllocationMode>
type PodIPAllocationMode = struct
Public Structure PodIPAllocationMode
Implements IEquatable(Of PodIPAllocationMode)
- Inheritance
-
PodIPAllocationMode
- Implements
Constructors
| Name | Description |
|---|---|
| PodIPAllocationMode(String) |
Initializes a new instance of PodIPAllocationMode. |
Properties
| Name | Description |
|---|---|
| DynamicIndividual |
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 Serialized Name: PodIPAllocationMode.DynamicIndividual |
| StaticBlock |
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 Serialized Name: PodIPAllocationMode.StaticBlock |
Methods
| Name | Description |
|---|---|
| Equals(PodIPAllocationMode) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(PodIPAllocationMode, PodIPAllocationMode) |
Determines if two PodIPAllocationMode values are the same. |
| Implicit(String to PodIPAllocationMode) |
Converts a String to a PodIPAllocationMode. |
| Inequality(PodIPAllocationMode, PodIPAllocationMode) |
Determines if two PodIPAllocationMode values are not the same. |