Skip to content

Commit f81a6bb

Browse files
Add screenshot. Update li best practice.
1 parent 7262e7f commit f81a6bb

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

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

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ The Azure Development Template contains all the code needed to create the servic
7676
Run `azd auth login`
7777

7878
1. Copy the device code that appears.
79-
2. Hit enter to open in a new tab the auth portal.
80-
3. Enter in your Microsoft Credentials in the new page.
81-
4. Confirm that it's you trying to connect to Azure CLI. If you encounter any issues, skip to the Troubleshooting section.
82-
5. Verify the message "Device code authentication completed. Logged in to Azure." appears in your original terminal.
79+
1. Hit enter to open in a new tab the auth portal.
80+
1. Enter in your Microsoft Credentials in the new page.
81+
1. Confirm that it's you trying to connect to Azure CLI. If you encounter any issues, skip to the Troubleshooting section.
82+
1. Verify the message "Device code authentication completed. Logged in to Azure." appears in your original terminal.
8383

8484
[!INCLUDE [azd-login-ts](../includes/azd/azd-login-ts.md)]
8585

@@ -90,9 +90,9 @@ Run `azd auth login`
9090
The step can take longer depending on your internet speed.
9191

9292
1. Create all your resources with the `azd up` command.
93-
2. Select which Azure subscription and region for your AKS Cluster.
94-
3. Wait as azd automatically runs the commands for pre-provision and post-provision steps.
95-
4. At the end, your output shows the newly created deployments and services.
93+
1. Select which Azure subscription and region for your AKS Cluster.
94+
1. Wait as azd automatically runs the commands for pre-provision and post-provision steps.
95+
1. At the end, your output shows the newly created deployments and services.
9696

9797
```output
9898
deployment.apps/rabbitmq created
@@ -109,6 +109,12 @@ The step can take longer depending on your internet speed.
109109
110110
When your application is created, a Kubernetes service exposes the application's front end service to the internet. This process can take a few minutes to complete. Once completed, follow these steps verify and test the application by opening up the store-front page.
111111
112+
1. Set your namespace as the demo namespace `pets` with the `kubectl set-context` command.
113+
114+
```console
115+
kubectl config set-context --current --namespace=pets
116+
```
117+
112118
1. View the status of the deployed pods with the [kubectl get pods][kubectl-get] command.
113119
114120
Check that all pods are in the `Running` state before proceeding:
@@ -149,8 +155,6 @@ When your application is created, a Kubernetes service exposes the application's
149155
150156
Once on the store page, you can add new items to your cart and check them out. To verify, visit the Azure Service in your portal to view the records of the transactions for your store app.
151157
152-
<!-- Image of Storefront Checkout -->
153-
154158
## Delete the cluster
155159
156160
Once you're finished with the quickstart, remember to clean up all your resources to avoid Azure charges.

articles/aks/tutorial-kubernetes-deploy-application.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,21 @@ When the application runs, a Kubernetes service exposes the application front en
214214
215215
3. View the application in action by opening a web browser to the external IP address of your service.
216216
217+
:::image type="content" source="media/quick-kubernetes-deploy-cli/aks-store-application.png" alt-text="Screenshot of AKS Store sample application." lightbox="media/quick-kubernetes-deploy-cli/aks-store-application.png":::
218+
217219
If the application doesn't load, it might be an authorization problem with your image registry. To view the status of your containers, use the `kubectl get pods` command. If you can't pull the container images, see [Authenticate with Azure Container Registry from Azure Kubernetes Service](cluster-container-registry-integration.md).
218220
219221
### Azure Portal
220222
221223
Navigate to your Azure Portal to find your deployment information.
222224
223225
1. Open your [Resource Group][azure-rg] on the Azure Portal.
224-
2. Navigate to the Kubernetes service for your cluster
225-
3. Select `Services and Ingress` under `Kubernetes Resources`
226-
4. Copy the External IP shown in the column for store-front.
227-
5. Paste the IP into your browser to visit your store page.
226+
1. Navigate to the Kubernetes service for your cluster
227+
1. Select `Services and Ingress` under `Kubernetes Resources`
228+
1. Copy the External IP shown in the column for store-front.
229+
1. Paste the IP into your browser to visit your store page.
230+
231+
:::image type="content" source="media/quick-kubernetes-deploy-cli/aks-store-application.png" alt-text="Screenshot of AKS Store sample application." lightbox="media/quick-kubernetes-deploy-cli/aks-store-application.png":::
228232
229233
## Next steps
230234

0 commit comments

Comments
 (0)