You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To show the outbound rule created in the load balancer, use [az network lb outbound-rule list][az-network-lb-outbound-rule-list] and specify the node resource group of your AKS cluster:
152
+
153
+
```azurecli-interactive
154
+
NODE_RG=$(az aks show --resource-group myResourceGroup --name myAKSCluster --query nodeResourceGroup -o tsv)
155
+
az network lb outbound-rule list --resource-group $NODE_RG --lb-name kubernetes -o table
156
+
```
157
+
158
+
The previous commands will list the outbound rule for your load balancer, for example:
159
+
160
+
```console
161
+
AllocatedOutboundPorts EnableTcpReset IdleTimeoutInMinutes Name Protocol ProvisioningState ResourceGroup
0 True 30 aksOutboundRule All Succeeded MC_myResourceGroup_myAKSCluster_eastus
164
+
```
165
+
166
+
In the example output, *AllocatedOutboundPorts* is 0. The value for *AllocatedOutboundPorts* means that SNAT port allocation reverts to automatic assignment based on backend pool size. See [Load Balancer outbound rules][azure-lb-outbound-rules] and [Outbound connections in Azure][azure-lb-outbound-connections] for more details.
167
+
149
168
## Next steps
150
169
151
170
Learn more about Kubernetes services at the [Kubernetes services documentation][kubernetes-services].
@@ -174,11 +193,14 @@ Learn more about Kubernetes services at the [Kubernetes services documentation][
0 commit comments