Skip to content

Commit b3a2a9a

Browse files
author
naman-msft
committed
updated docs
1 parent ee46c62 commit b3a2a9a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,7 @@ When the application runs, a Kubernetes service exposes the application front en
280280
1. Check the status of the deployed pods using the [kubectl get pods][kubectl-get] command. Make sure all pods are `Running` before proceeding.
281281

282282
```bash
283-
while true; do
284-
POD_STATUS=$(kubectl get pods --no-headers | awk '{print $3}' | grep -v "Running" | wc -l)
285-
if [ "$POD_STATUS" -eq 0 ]; then
286-
echo "All pods are in the Running state."
287-
kubectl get pods
288-
break
289-
else
290-
echo "Waiting for all pods to be in the Running state..."
291-
sleep 5
292-
fi
293-
done
283+
kubectl get pods
294284
```
295285

296286
2. Monitor progress using the [kubectl get service][kubectl-get] command with the `--watch` argument.

0 commit comments

Comments
 (0)