Skip to content

Commit 69b74fb

Browse files
authored
Update internal-lb.md
I have rephrased the note related to the permission for the private network and changed the structure for the section Specify a different subnet that should be a paragraph of the precedent.
1 parent c211cff commit 69b74fb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/aks/internal-lb.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ internal-app LoadBalancer 10.1.15.188 10.0.0.35 80:31669/TCP 1m
202202

203203
> [!NOTE]
204204
>
205-
> You may need to give the *Network Contributor* role to the resource group in which your Azure virtual network resources are deployed. You can view the cluster identity with [az aks show][az-aks-show], such as `az aks show --resource-group myResourceGroup --name myAKSCluster --query "identity"`. To create a role assignment, use the [az role assignment create][az-role-assignment-create] command.
205+
> You may need to assign a minimum of *Microsoft.Network/virtualNetworks/subnets/read* and *Microsoft.Network/virtualNetworks/subnets/join/action* permission to AKS MSI on the Azure Virtual Network resources. You can view the cluster identity with [az aks show][az-aks-show], such as `az aks show --resource-group myResourceGroup --name myAKSCluster --query "identity"`. To create a role assignment, use the [az role assignment create][az-role-assignment-create] command.
206206
207-
## Specify a different subnet
207+
### Specify a different subnet
208208

209209
Add the *azure-load-balancer-internal-subnet* annotation to your service to specify a subnet for your load balancer. The subnet specified must be in the same virtual network as your AKS cluster. When deployed, the load balancer *EXTERNAL-IP* address is part of the specified subnet.
210210

@@ -223,9 +223,6 @@ spec:
223223
selector:
224224
app: internal-app
225225
```
226-
> [!NOTE]
227-
>
228-
> You may need to assign the *Microsoft.Network/virtualNetworks/subnets/read* and *Microsoft.Network/virtualNetworks/subnets/join/action* permission to the AKS cluster MSI on the VNet.
229226
230227
## Delete the load balancer
231228

0 commit comments

Comments
 (0)