Skip to content

Commit 2cd1b44

Browse files
committed
Adding a step to get the cluster credentials
Before using the kubectl command in the next chapters we need to be authenticated.
1 parent 490230f commit 2cd1b44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/aks/egress-outboundtype.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,12 @@ az aks update -g $RG -n $AKS_NAME --api-server-authorized-ip-ranges $CURRENT_IP/
359359

360360
```
361361

362+
Use the [az aks get-credentials][az-aks-get-credentials] command to configure `kubectl` to connect to your newly created Kubernetes cluster.
363+
364+
```azure-cli
365+
az aks get-credentials -g $RG -n $AKS_NAME
366+
```
367+
362368
### Setup the internal load balancer
363369

364370
AKS has deployed a load balancer with the cluster which can be setup as an [internal load balancer](internal-lb.md).

0 commit comments

Comments
 (0)