Azure VNET IPAM plugins manage IP address assignments to containers.
Currently, these IP addresses need to be pre-allocated from Azure VNET to each container host's network interface before becoming available to containers running on that host.
This section describes how to allocate IP addresses for containers running on individual Azure IaaS VMs. If you are planning to deploy an ACS cluster, see ACS instead.
Each network interface is automatically assigned a primary IP address during creation. More (secondary) IP addresses can be added to network interfaces using the following options:
-
PowerShell: Assigning multiple IP addresses using PowerShell
Add-AzureRmNetworkInterfaceIpConfig -Name $IpConfigName -NetworkInterface $Nic -Subnet $Subnet