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
#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.
8
8
---
9
9
10
-
# Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using Azure Developer CLI (AZD)
10
+
# Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using the Azure Developer CLI (`azd`)
11
11
12
12
Azure Kubernetes Service (AKS) is a managed Kubernetes service that lets you quickly deploy and manage clusters. In this quickstart, you learn to:
13
13
14
-
- Download and run Azure Developer Templates.
15
-
- Deploy an AKS cluster using the Azure Developer CLI (AZD).
14
+
- Download and install the Azure Developer CLI (`azd`).
15
+
- Clone applications from an Azure Developer CLI template (`azd` template).
16
+
- Deploy an AKS cluster using the Azure Developer CLI (`azd`).
16
17
- Run a sample multi-container application with a group of microservices that simulates a retail app.
17
-
- Delete and cleanup containers made from AZD templates.
18
+
- Delete and cleanup containers made from the `azd` template.
18
19
19
20
> [!NOTE]
20
21
> To get started with quickly provisioning an AKS cluster, this article includes steps to deploy a cluster with default settings for evaluation purposes only. Before deploying a production-ready cluster, we recommend that you familiarize yourself with our [baseline reference architecture][baseline-reference-architecture] to consider how it aligns with your business requirements.
@@ -25,11 +26,11 @@ This quickstart assumes a basic understanding of Kubernetes concepts. For more i
- For ease of use, run this on Bash or PowerShell in the [Azure Cloud Shell](/azure/cloud-shell/overview). For more information, see [Quickstart for Azure Cloud Shell](/azure/cloud-shell/quickstart).
29
+
- For ease of use, run this sample on Bash or PowerShell in the [Azure Cloud Shell](/azure/cloud-shell/overview). For more information, see [Quickstart for Azure Cloud Shell](/azure/cloud-shell/quickstart).
29
30
30
-
-If you want to use AZD locally, then install the [Azure Developer CLI][azd-install].
31
+
-To use `azd` locally, install version 1.6.1 or later of the [Azure Developer CLI][azd-install].
31
32
32
-
-This article requires version 1.6.1 or later of the [Azure Developer CLI][azd-install]. If you're using the [Azure Cloud Shell](/azure/cloud-shell/overview), the latest version is already installed on there.
33
+
- If you're using the [Azure Cloud Shell](/azure/cloud-shell/overview), the latest version is already installed on there.
33
34
34
35
35
36
## Sample Code
@@ -48,26 +49,25 @@ The quickstart application includes the following Kubernetes deployments and ser
48
49
> [!NOTE]
49
50
> We don't recommend running stateful containers, such as Rabbit MQ, without persistent storage for production use. These are used here for simplicity, but we recommend using managed services instead, such as Azure CosmosDB or Azure Service Bus.
50
51
51
-
## Clone app with the Azure Developer Template
52
+
## Clone the Azure Developer CLI Template
52
53
53
-
The AZD CLI provides an interface to clone the files directly from GitHub or register existing folders as templates.
54
-
You can quickly clone the sample application with `azd init` followed by the name of the repository as the template argument.
54
+
`azd` can clone files directly from a GitHub repository with azd init. For this quickstart, clone the sample `azd` template using the `--template` flag along with the owner and name of the repository.
55
55
56
-
1.Create the AKS Store Demo by cloning from Azure-Samples/aks-store-demo through azd.
56
+
1.Clone the AKS Store Demo template from the Azure-Samples repository by running the azd init command and specifying aks-store-demo.
57
57
58
58
```azurecli-interactive
59
-
azd init --template aks-store-demo
59
+
azd init --template Azure-Samples/aks-store-demo
60
60
```
61
61
62
-
2. Choose an environment name for your project that uses only alphanumeric characters and hyphens.
62
+
1. Choose an environment name for your project that uses only alphanumeric characters and hyphens.
63
63
64
64
```output
65
-
Enter a new environment name: [? for help]
65
+
Enter a new environment name: aks-azdqs-1
66
66
```
67
67
68
68
## Sign in to your Azure Cloud account
69
69
70
-
The Azure Development 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.
70
+
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.
71
71
72
72
1. Sign in to your account with azd.
73
73
@@ -84,7 +84,7 @@ The Azure Development Template contains all the code needed to create the servic
84
84
85
85
1. Authenticate with your credentials on your organization's sign in page.
86
86
87
-
1. Confirm that it's you trying to connect to Azure CLI.
87
+
1. Confirm that it's you trying to connect from the Azure CLI.
88
88
89
89
1. Verify the message "Device code authentication completed. Logged in to Azure." appears in your original terminal.
90
90
@@ -98,14 +98,14 @@ The Azure Development Template contains all the code needed to create the servic
98
98
99
99
## Create and deploy resources for your cluster
100
100
101
-
AZD runs all the hooks inside of the `azd-hooks` folder to pre-register, provision, then deploy these services.
101
+
`azd` runs all the hooks inside of the `azd-hooks` folder to preregister, provision, then deploy these services.
102
102
103
-
The AZD template creates a new resource group with an Azure Kubernetes cluster and Azure Kevault. The keyvault is used to store client secrets. Within the cluster, it runs your app's services in the pets namespace.
103
+
This `azd` template creates a new resource group with an Azure Kubernetes cluster and Azure Keyvault. The keyvault is used to store client secrets. Within the cluster, it runs your app's services in the pets namespace.
104
104
105
105
- **makeline-service**: Processes orders from the queue and completing them.
106
-
- **order-service**: Place orders for products
106
+
- **order-service**: Place orders for products.
107
107
- **product-service**: Perform create, read, update, or delete operations on products.
108
-
- **store-front**: Web app for customers to view products and place orders
108
+
- **store-front**: Web app for customers to view products and place orders.
109
109
- **rabbit-mq**: Message queue for an order queue.
110
110
111
111
1. Create all your resources with the `azd up` command.
0 commit comments