Skip to content

Commit a30f0fa

Browse files
Merge pull request #265522 from schaffererin/resourceGroupPublicIP
Updated reference to regular RG to node RG
2 parents d23c651 + cc8a41d commit a30f0fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/static-ip.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This article shows you how to create a static public IP address and assign it to
6060
2. Get the static public IP address using the [`az network public-ip list`][az-network-public-ip-list] command. Specify the name of the node resource group and public IP address you created, and query for the `ipAddress`.
6161
6262
```azurecli-interactive
63-
az network public-ip show --resource-group myNetworkResourceGroup --name myAKSPublicIP --query ipAddress --output tsv
63+
az network public-ip show --resource-group <node resource group name> --name myAKSPublicIP --query ipAddress --output tsv
6464
```
6565
6666
## Create a service using the static IP address
@@ -89,7 +89,7 @@ This article shows you how to create a static public IP address and assign it to
8989
kind: Service
9090
metadata:
9191
annotations:
92-
service.beta.kubernetes.io/azure-load-balancer-resource-group: myNetworkResourceGroup
92+
service.beta.kubernetes.io/azure-load-balancer-resource-group: <node resource group name>
9393
service.beta.kubernetes.io/azure-pip-name: myAKSPublicIP
9494
name: azure-load-balancer
9595
spec:
@@ -113,7 +113,7 @@ This article shows you how to create a static public IP address and assign it to
113113
kind: Service
114114
metadata:
115115
annotations:
116-
service.beta.kubernetes.io/azure-load-balancer-resource-group: myNetworkResourceGroup
116+
service.beta.kubernetes.io/azure-load-balancer-resource-group: <node resource group name>
117117
service.beta.kubernetes.io/azure-pip-name: myAKSPublicIP
118118
service.beta.kubernetes.io/azure-dns-label-name: <unique-service-label>
119119
name: azure-load-balancer

0 commit comments

Comments
 (0)