Skip to content

Commit 4811433

Browse files
committed
tweaks for finding public ips
1 parent 4dfbeea commit 4811433

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/aks/use-multiple-node-pools.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ It may take a few minutes to update your AKS cluster depending on the node pool
724724
> You must install the CLI preview extension 0.4.43 or greater to use the public IP per node feature.
725725

726726
> [!Important]
727-
> The Azure Instance Metadata Service doesn't currently support public IP addresses for the standard tier VM SKU. Due to this limitation, you can't use kubectl commands to display the public IPs assigned to the nodes. However, the IPs are assigned and function as intended.
727+
> The Azure Instance Metadata Service doesn't currently support public IP addresses for the standard tier VM SKU. Due to this limitation, you can't use kubectl commands to display the public IPs assigned to the nodes. However, the IPs are assigned and function as intended. You can use the PowerShell command Get-AzPublicIpAddress to view the public IPs.
728728

729729
AKS nodes do not require their own public IP addresses for communication. However, scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. An common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. This scenario can be achieved on AKS by registering for a preview feature, Node Public IP (preview).
730730

@@ -765,6 +765,15 @@ For existing AKS clusters, you can also add a new node pool, and attach a public
765765
az aks nodepool add -g MyResourceGroup2 --cluster-name MyManagedCluster -n nodepool2 --enable-node-public-ip
766766
```
767767

768+
You can view the public IPs for your nodes with [PowerShell or Bash commands][vmss-commands]. You can also view the public IPs in the Azure Portal by viewing the instances in the Virtual Machine Scale Set.
769+
770+
> [!Important]
771+
> The [node resource group][node-resource-group] contains the nodes and their public IPs. Use the node resource group with the following PowerShell command:
772+
773+
```powershell
774+
Get-AzPublicIpAddress -ResourceGroupName MC_MyResourceGroup2_MyManagedCluster_eastus -VirtualMachineScaleSetName YourVirtualMachineScaleSetName
775+
```
776+
768777
## Clean up resources
769778

770779
In this article, you created an AKS cluster that includes GPU-based nodes. To reduce unnecessary cost, you may want to delete the *gpunodepool*, or the whole AKS cluster.
@@ -828,3 +837,5 @@ To create and use Windows Server container node pools, see [Create a Windows Ser
828837
[vm-sizes]: ../virtual-machines/linux/sizes.md
829838
[use-system-pool]: use-system-pools.md
830839
[ip-limitations]: ../virtual-network/virtual-network-ip-addresses-overview-arm#standard
840+
[node-resource-group]: faq#why-are-two-resource-groups-created-with-aks.md
841+
[vmss-commands]: ../virtual-machine-scale-sets/virtual-machine-scale-sets-networking#public-ipv4-per-virtual-machine

0 commit comments

Comments
 (0)