Skip to content

Commit 7504ca5

Browse files
Merge pull request #269793 from nathaniel-msft/aks-azd-2
AZD Quickstart - Minor tweaks to improve quality.
2 parents 0edfc88 + 12b241d commit 7504ca5

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

articles/aks/learn/quick-kubernetes-deploy-azd.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to quickly deploy a Kubernetes cluster and deploy an appl
44
ms.author: schaffererin
55
author: schaffererin
66
ms.topic: quickstart
7-
ms.date: 03/15/2024
7+
ms.date: 03/21/2024
88
ms.custom: H1Hack27Feb2017, mvc, devcenter, seo-javascript-september2019, seo-javascript-october2019, seo-python-october2019, contperf-fy21q1, mode-api, devx-track-extended-azdevcli
99
#Customer intent: As a developer or cluster operator, I want to deploy an AKS cluster and deploy an application so I can see how to run applications using the managed Kubernetes service in Azure.
1010
---
@@ -67,7 +67,7 @@ The quickstart application includes the following Kubernetes deployments and ser
6767
6868
The `azd` template contains all the code needed to create the services, but you need to sign in to your Azure account in order to host the application on AKS.
6969
70-
1. Sign in to your account using the [`azd auth login`][az-auth-login] command.
70+
1. Sign in to your account using the [`azd auth login`][azd-auth-login] command.
7171
7272
```azdeveloper
7373
azd auth login
@@ -97,7 +97,7 @@ The `azd` template contains all the code needed to create the services, but you
9797
9898
## Create and deploy resources for your cluster
9999
100-
`azd` runs all the hooks inside of the [`azd-hooks` folder](https://github.com/Azure-Samples/aks-store-demo/tree/main/azd-hooks) to preregister, provision, and deploy the application services.
100+
`azd` runs all the hooks inside of the [`azd-hooks` folder][azd-hooks-folder] to preregister, provision, and deploy the application services.
101101
102102
The `azd` template for this quickstart creates a new resource group with an AKS cluster and an Azure key vault. The key vault stores client secrets and runs the services in the `pets` namespace
103103
@@ -135,15 +135,19 @@ The `azd` template for this quickstart creates a new resource group with an AKS
135135
136136
## Test the application
137137
138-
When the application runs, a Kubernetes service exposes the application front end to the internet. This process can take a few minutes to complete.
138+
When the application runs, a Kubernetes service exposes the application front end to the internet. This process can take a few minutes to complete. To manage a Kubernetes cluster, use the Kubernetes command-line client, [kubectl][kubectl]. `kubectl` is already installed during `azd up`.
139139
140140
1. Set your namespace as the demo namespace `pets` using the [`kubectl set-context`][kubectl-set-context] command.
141141
142142
```console
143143
kubectl config set-context --current --namespace=pets
144144
```
145145
146-
2. Check the status of the deployed pods using the [`kubectl get pods`][kubectl-get-pods] command. Make sure all pods are `Running` before proceeding.
146+
2. Check the status of the deployed pods using the [`kubectl get pods`][kubectl-get] command. Make sure all pods are `Running` before proceeding.
147+
148+
```console
149+
kubectl get pods
150+
```
147151
148152
3. Check for a public IP address for the store-front application and monitor progress using the [`kubectl get service`][kubectl-get] command with the `--watch` argument.
149153
@@ -175,7 +179,7 @@ When the application runs, a Kubernetes service exposes the application front en
175179
176180
Once you're finished with the quickstart, clean up unnecessary resources to avoid Azure charges.
177181
178-
1. Delete all the resources created in the quickstart using the [`azd down`][az-down] command.
182+
1. Delete all the resources created in the quickstart using the [`azd down`][azd-down] command.
179183
180184
```azdeveloper
181185
azd down
@@ -215,26 +219,18 @@ To learn more about AKS and walk through a complete code-to-deployment example,
215219
> [AKS tutorial][aks-tutorial]
216220
217221
<!-- LINKS - external -->
222+
[azd-hooks-folder]: https://github.com/Azure-Samples/aks-store-demo/tree/main/azd-hooks
218223
[kubectl]: https://kubernetes.io/docs/reference/kubectl/
219-
[kubectl-apply]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
220224
[kubectl-get]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
221225
[kubectl-set-context]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config-set-context
222-
[kubectl-get-pods]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get-pods
223226
224227
<!-- LINKS - internal -->
225228
[aks-tutorial]: ../tutorial-kubernetes-prepare-app.md
226-
[azure-resource-group]: ../../azure-resource-manager/management/overview.md
227-
[az-aks-create]: /cli/azure/aks#az-aks-create
228-
[az-aks-get-credentials]: /cli/azure/aks#az-aks-get-credentials
229-
[install-azure-cli]: /cli/azure/install-azure-cli
230-
[az-aks-install-cli]: /cli/azure/aks#az-aks-install-cli
231-
[az-group-create]: /cli/azure/group#az-group-create
232-
[az-group-delete]: /cli/azure/group#az-group-delete
233229
[azd-init]: /azure/developer/azure-developer-cli/reference#azd-init
234230
[azd-up]: /azure/developer/azure-developer-cli/reference#azd-up
235-
[az-auth-login]: /azure/developer/azure-developer-cli/reference#azd-auth-login
231+
[azd-down]: /azure/developer/azure-developer-cli/reference#azd-down
232+
[azd-auth-login]: /azure/developer/azure-developer-cli/reference#azd-auth-login
236233
[azd-install]: /azure/developer/azure-developer-cli/install-azd
237234
[kubernetes-concepts]: ../concepts-clusters-workloads.md
238-
[kubernetes-deployment]: ../concepts-clusters-workloads.md#deployments-and-yaml-manifests
239235
[aks-solution-guidance]: /azure/architecture/reference-architectures/containers/aks-start-here?toc=/azure/aks/toc.json&bc=/azure/aks/breadcrumb/toc.json
240236
[baseline-reference-architecture]: /azure/architecture/reference-architectures/containers/aks/baseline-aks?toc=/azure/aks/toc.json&bc=/azure/aks/breadcrumb/toc.json

0 commit comments

Comments
 (0)