Skip to content

Commit 7cfa0b1

Browse files
committed
Fix aks
1 parent 489166c commit 7cfa0b1

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

scenarios/azure-docs/articles/aks/learn/quick-kubernetes-deploy-cli.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,12 @@ az aks create \
9191
To manage a Kubernetes cluster, use the Kubernetes command-line client, [kubectl][kubectl]. `kubectl` is already installed if you use Azure Cloud Shell. To install `kubectl` locally, use the [`az aks install-cli`][az-aks-install-cli] command.
9292

9393
1. Configure `kubectl` to connect to your Kubernetes cluster using the [az aks get-credentials][az-aks-get-credentials] command. This command downloads credentials and configures the Kubernetes CLI to use them.
94+
2. Verify the connection to your cluster using the [kubectl get][kubectl-get] command. This command returns a list of the cluster nodes.
9495

95-
```azurecli-interactive
96-
az aks get-credentials --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME
97-
```
98-
99-
1. Verify the connection to your cluster using the [kubectl get][kubectl-get] command. This command returns a list of the cluster nodes.
100-
101-
```azurecli-interactive
102-
kubectl get nodes
103-
```
96+
```azurecli-interactive
97+
az aks get-credentials --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME
98+
kubectl get nodes
99+
```
104100

105101
## Deploy the application
106102

0 commit comments

Comments
 (0)