Skip to content

Commit ddc0342

Browse files
committed
Remove last 2 steps
1 parent b7ba24a commit ddc0342

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -344,38 +344,6 @@ To deploy the application, you use a manifest file to create all the objects req
344344
kubectl apply -f aks-store-quickstart.yaml
345345
```
346346
347-
## Wait for cluster to startup
348-
349-
Wait until the cluster is ready
350-
351-
```azurecli-interactive
352-
runtime="5 minutes"
353-
endtime=$(date -ud "$runtime" +%s)
354-
while [[ $(date -u +%s) -le $endtime ]]
355-
do
356-
STATUS=$(kubectl get pods -l app=store-front -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}')
357-
echo $STATUS
358-
if [ "$STATUS" == 'True' ]
359-
then
360-
export IP_ADDRESS=$(kubectl get service store-front --output 'jsonpath={..status.loadBalancer.ingress[0].ip}')
361-
echo "Service IP Address: $IP_ADDRESS"
362-
break
363-
else
364-
sleep 10
365-
fi
366-
done
367-
```
368-
369-
## Test the application
370-
371-
You can validate that the application is running by visiting the public IP address or the application URL.
372-
373-
Get the application URL using the following commands:
374-
375-
```azurecli-interactive
376-
curl $IP_ADDRESS
377-
```
378-
379347
Results:
380348
<!-- expected_similarity=0.3 -->
381349
```HTML

0 commit comments

Comments
 (0)