You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/learn/quick-kubernetes-deploy-azd.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ There are two methods for the quickstart. Choosing Azure Developer CLI is a more
26
26
27
27
## Azure Developer CLI
28
28
29
-
- An Azure account with an active subscription. Create an account for free.
29
+
- An Azure account with an active subscription. Create an account for free
30
30
- The Azure Developer CLI
31
-
- The latest .NET 7.0 SDK.
31
+
- The latest .NET 7.0 SDK
32
32
- A Linux OS
33
33
34
34
This quickstart assumes a basic understanding of Kubernetes concepts. For more information, see [Kubernetes core concepts for Azure Kubernetes Service (AKS)][kubernetes-concepts].
@@ -38,7 +38,7 @@ This quickstart assumes a basic understanding of Kubernetes concepts. For more i
- This article requires version 2.0.64 or later of the Azure CLI. If you're using Azure Cloud Shell, the latest version is already installed there.
41
-
-Make sure that the identity you're using to create your cluster has the appropriate minimum permissions. For more information on access and identity for AKS, see [Access and identity options for Azure Kubernetes Service (AKS)](../concepts-identity.md).
41
+
-Check the identity you're using to create your cluster has the appropriate minimum permissions. For more information on access and identity for AKS, see [Access and identity options for Azure Kubernetes Service (AKS)](../concepts-identity.md).
42
42
43
43
## Sample Code
44
44
@@ -58,29 +58,29 @@ The quickstart application includes the following Kubernetes deployments and ser
58
58
59
59
### Template Command
60
60
61
-
You can quickly clone the application with `azd init` with the name of the repo using the --template flag.
61
+
You can quickly clone the application with `azd init` with the name of the repo using the template argument.
62
62
63
63
For instance, our code sample is at: `azd init --template aks-store-demo`.
64
64
65
65
### Git
66
66
67
67
Alternatively, you can clone the application directly through GitHub, then run `azd init` from inside the directory to create configurations for the AZD CLI.
68
68
69
-
When prompted for an environment name you can chose anything, but our quickstart uses `aksqs`.
69
+
When prompted for an environment name you can choose anything, but our quickstart uses `aksqs`.
70
70
71
71
## Sign in to your Azure Cloud account
72
72
73
73
The Azure Development Template contains all the code needed to create the services, but you need to sign in to host them on Azure Kubernetes Service.
74
74
75
75
Run `azd auth login`
76
76
77
-
1.You are shown a device code to copy.
77
+
1.Copy the device code that appears.
78
78
2. Hit enter to open in a new tab the auth portal.
79
-
3.Type in your Microsoft Credentials in the new page.
80
-
4.Verify that it is you trying to connect to Azure CLI If you encounter any issues, skip to the Troubleshooting section.
81
-
5.Once it works, you should see the message "Device code authentication completed. Logged in to Azure." in your terminal
79
+
3.Enter in your Microsoft Credentials in the new page.
80
+
4.Confirm that it's you trying to connect to Azure CLI. If you encounter any issues, skip to the Troubleshooting section.
81
+
5.Verify the message "Device code authentication completed. Logged in to Azure." appears in your original terminal.
82
82
83
-
### Troubleshooting: Cannot Connect to Localhost
83
+
### Troubleshooting: Can't Connect to Localhost
84
84
85
85
Certain Azure security policies cause conflicts when trying to sign in. As a workaround, you can perform a curl request to the localhost url you were redirected to after you logged in.
86
86
@@ -134,13 +134,17 @@ In the AZD Template, there are files ready for deployment to start your service.
134
134
135
135
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.
136
136
137
-
1. Check the status of the deployed pods using the [kubectl get pods][kubectl-get] command. Make sure all pods are `Running` before proceeding.
137
+
1. View the status of the deployed pods with the [kubectl get pods][kubectl-get] command.
138
+
139
+
Check that all pods are in the `Running` state before proceeding:
138
140
139
141
```console
140
142
kubectl get pods
141
143
```
142
144
143
-
1. Check for a public IP address for the front end store-front application. Monitor progress using the [kubectl get service][kubectl-get] command with the `--watch` argument.
145
+
1. Search for a public IP address for the front end store-front application.
146
+
147
+
Monitor progress using the [kubectl get service][kubectl-get] command with the `--watch` argument:
144
148
145
149
```azurecli
146
150
kubectl get service store-front --watch
@@ -153,7 +157,7 @@ When your application is created, a Kubernetes service exposes the application's
1. Open a web browser to the external IP address of your service to see the Azure Store app in action.
169
+
1. Open a web browser using the external IP address of your service to view the Azure Store app in action.
166
170
167
171
:::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":::
0 commit comments