|
1 | 1 | ---
|
2 | 2 | title: 'Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using Terraform'
|
3 | 3 | description: Learn how to quickly deploy a Kubernetes cluster using Terraform and deploy an application in Azure Kubernetes Service (AKS).
|
| 4 | +ms.author: schaffererin |
| 5 | +author: schaffererin |
4 | 6 | ms.topic: quickstart
|
5 |
| -ms.date: 03/15/2024 |
| 7 | +ms.date: 03/22/2024 |
6 | 8 | ms.custom: devx-track-terraform
|
7 | 9 | content_well_notification:
|
8 | 10 | - AI-contribution
|
@@ -160,7 +162,6 @@ To deploy the application, you use a manifest file to create all the objects req
|
160 | 162 | > [!NOTE]
|
161 | 163 | > We don't recommend running stateful containers, such as Rabbit MQ, without persistent storage for production. These are used here for simplicity, but we recommend using managed services, such as Azure CosmosDB or Azure Service Bus.
|
162 | 164 |
|
163 |
| - |
164 | 165 | 1. Create a file named `aks-store-quickstart.yaml` and copy in the following manifest:
|
165 | 166 |
|
166 | 167 | ```yaml
|
@@ -481,6 +482,8 @@ When the application runs, a Kubernetes service exposes the application front en
|
481 | 482 |
|
482 | 483 | ## Clone the Azure Developer CLI template
|
483 | 484 |
|
| 485 | +The Azure Developer CLI allows you to quickly download samples from the **Azure-Samples** repository. In our quickstart, you will download the `aks-store-demo` application. For more information on the general uses cases see the [`azd` overview][azd-overview]. |
| 486 | + |
484 | 487 | 1. Clone the AKS store demo template from the **Azure-Samples** repository using the [`azd init`][azd-init] command with the `--template` parameter.
|
485 | 488 |
|
486 | 489 | ```azdeveloper
|
@@ -542,16 +545,18 @@ To deploy the application, you use the `azd up` command to create all the object
|
542 | 545 |
|
543 | 546 | ### Deploy application resources
|
544 | 547 |
|
545 |
| -`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. |
546 |
| - |
547 |
| -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 |
| 548 | +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 |
548 | 549 |
|
549 | 550 | 1. Create all the application resources using the [`azd up`][azd-up] command.
|
550 | 551 |
|
551 | 552 | ```azdeveloper
|
552 | 553 | azd up
|
553 | 554 | ```
|
554 | 555 |
|
| 556 | + `azd up` 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. |
| 557 | + |
| 558 | + Customize hooks to add custom code into the `azd` workflow stages. For more information, see the [`azd` hooks][azd-hooks] reference. |
| 559 | + |
555 | 560 | 2. Select an Azure subscription for your billing usage.
|
556 | 561 |
|
557 | 562 | ```output
|
@@ -687,4 +692,6 @@ To learn more about AKS and walk through a complete code-to-deployment example,
|
687 | 692 | [azd-up]: /azure/developer/azure-developer-cli/reference#azd-up
|
688 | 693 | [az-auth-login]: /azure/developer/azure-developer-cli/reference#azd-auth-login
|
689 | 694 | [azd-down]: /azure/developer/azure-developer-cli/reference#azd-down
|
| 695 | +[azd-hooks]: /azure/developer/azure-developer-cli/reference#azd-hooks |
| 696 | +[azd-overview]: /azure/developer/azure-developer-cli |
690 | 697 | [aks-home]: /azure/aks
|
0 commit comments