Skip to content

Commit 4c8635a

Browse files
authored
Merge pull request #108015 from mumian/0317-aks
Make it compliant with the ARM quickstart guidance
2 parents dc1b93e + 2e9e65a commit 4c8635a

File tree

2 files changed

+31
-18
lines changed

2 files changed

+31
-18
lines changed

articles/aks/TOC.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
href: kubernetes-walkthrough.md
1515
- name: Use the Azure portal
1616
href: kubernetes-walkthrough-portal.md
17-
- name: Use a Resource Manager template
17+
- name: Use ARM template
18+
displayName: Resource Manager
1819
href: kubernetes-walkthrough-rm-template.md
1920
- name: Develop applications
2021
expanded: true
@@ -24,8 +25,8 @@
2425
- name: Azure Dev Spaces
2526
expanded: true
2627
items:
27-
- name: Use Azure Dev Spaces for team development
28-
href: ../dev-spaces/quickstart-team-development.md
28+
- name: Use Azure Dev Spaces for team development
29+
href: ../dev-spaces/quickstart-team-development.md
2930
maintainContext: true
3031
- name: Use Visual Studio Code
3132
href: ../dev-spaces/quickstart-netcore.md
@@ -37,10 +38,10 @@
3738
href: ../dev-spaces/quickstart-cli.md
3839
maintainContext: true
3940
- name: Use Azure Dev Spaces with Java
40-
href: ../dev-spaces/quickstart-java.md
41+
href: ../dev-spaces/quickstart-java.md
4142
maintainContext: true
4243
- name: Use Azure Dev Spaces Node.js
43-
href: ../dev-spaces/quickstart-nodejs.md
44+
href: ../dev-spaces/quickstart-nodejs.md
4445
maintainContext: true
4546
- name: Tutorials
4647
items:
@@ -159,7 +160,7 @@
159160
- name: NFS Server - Static
160161
href: azure-nfs-volume.md
161162
- name: Azure NetApp Files
162-
href: azure-netapp-files.md
163+
href: azure-netapp-files.md
163164
- name: Configure networking
164165
items:
165166
- name: Create or use existing virtual network
@@ -326,25 +327,25 @@
326327
href: ../api-management/api-management-kubernetes.md
327328
maintainContext: true
328329
- name: Select and deploy a service mesh
329-
items:
330+
items:
330331
- name: About Service Meshes
331332
href: servicemesh-about.md
332333
- name: Use Istio
333-
items:
334+
items:
334335
- name: About Istio
335336
href: servicemesh-istio-about.md
336337
- name: Install and configure
337338
href: servicemesh-istio-install.md
338339
- name: Scenario - Intelligent routing and canary releases
339340
href: servicemesh-istio-scenario-routing.md
340341
- name: Use Linkerd
341-
items:
342+
items:
342343
- name: About Linkerd
343344
href: servicemesh-linkerd-about.md
344345
- name: Install and configure
345346
href: servicemesh-linkerd-install.md
346347
- name: Use Consul
347-
items:
348+
items:
348349
- name: About Consul
349350
href: servicemesh-consul-about.md
350351
- name: Install and configure
@@ -360,7 +361,7 @@
360361
href: ../devops-project/azure-devops-project-aks.md
361362
maintainContext: true
362363
- name: Deployment Center Launcher
363-
href: deployment-center-launcher.md
364+
href: deployment-center-launcher.md
364365
- name: GitHub Actions for Kubernetes
365366
href: ../aks/kubernetes-action.md
366367
- name: Troubleshoot

articles/aks/kubernetes-walkthrough-rm-template.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-service
55
ms.topic: quickstart
66
ms.date: 04/19/2019
77

8-
ms.custom: mvc
8+
ms.custom: mvc,subject-armqs
99

1010
#Customer intent: As a developer or cluster operator, I want to quickly create an AKS cluster and deploy an application so that I can see how to run applications using the managed Kubernetes service in Azure.
1111
---
@@ -16,6 +16,8 @@ Azure Kubernetes Service (AKS) is a managed Kubernetes service that lets you qui
1616

1717
![Image of browsing to Azure Vote](media/container-service-kubernetes-walkthrough/azure-voting-application.png)
1818

19+
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
20+
1921
This quickstart assumes a basic understanding of Kubernetes concepts. For more information, see [Kubernetes core concepts for Azure Kubernetes Service (AKS)][kubernetes-concepts].
2022

2123
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
@@ -66,13 +68,21 @@ Make a note of the *appId* and *password*. These values are used in the followin
6668

6769
## Create an AKS cluster
6870

69-
The template used in this quickstart is to [deploy an Azure Kubernetes Service cluster](https://azure.microsoft.com/resources/templates/101-aks/). For more AKS samples, see the [AKS quickstart templates][aks-quickstart-templates] site.
71+
### Review the template
72+
73+
The template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/101-aks/).
74+
75+
:::code language="json" source="~/quickstart-templates/101-aks/azuredeploy.json" range="1-126" highlight="86-118":::
76+
77+
For more AKS samples, see the [AKS quickstart templates][aks-quickstart-templates] site.
78+
79+
### Deploy the template
7080

7181
1. Select the following image to sign in to Azure and open a template.
7282

7383
[![Deploy to Azure](./media/kubernetes-walkthrough-rm-template/deploy-to-azure.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-aks%2Fazuredeploy.json)
7484

75-
2. Select or enter the following values.
85+
2. Select or enter the following values.
7686

7787
For this quickstart, leave the default values for the *OS Disk Size GB*, *Agent Count*, *Agent VM Size*, *OS Type*, and *Kubernetes Version*. Provide your own values for the following template parameters:
7888

@@ -93,7 +103,9 @@ The template used in this quickstart is to [deploy an Azure Kubernetes Service c
93103

94104
It takes a few minutes to create the AKS cluster. Wait for the cluster to be successfully deployed before you move on to the next step.
95105

96-
## Connect to the cluster
106+
## Validate the deployment
107+
108+
### Connect to the cluster
97109

98110
To manage a Kubernetes cluster, you use [kubectl][kubectl], the Kubernetes command-line client. If you use Azure Cloud Shell, `kubectl` is already installed. To install `kubectl` locally, use the [az aks install-cli][az-aks-install-cli] command:
99111

@@ -122,7 +134,7 @@ aks-agentpool-41324942-1 Ready agent 6m46s v1.12.6
122134
aks-agentpool-41324942-2 Ready agent 6m45s v1.12.6
123135
```
124136

125-
## Run the application
137+
### Run the application
126138

127139
A Kubernetes manifest file defines a desired state for the cluster, such as what container images to run. In this quickstart, a manifest is used to create all objects needed to run the Azure Vote application. This manifest includes two [Kubernetes deployments][kubernetes-deployment] - one for the sample Azure Vote Python applications, and the other for a Redis instance. Two [Kubernetes Services][kubernetes-service] are also created - an internal service for the Redis instance, and an external service to access the Azure Vote application from the internet.
128140

@@ -231,7 +243,7 @@ deployment "azure-vote-front" created
231243
service "azure-vote-front" created
232244
```
233245

234-
## Test the application
246+
### Test the application
235247

236248
When the application runs, a Kubernetes service exposes the application front end to the internet. This process can take a few minutes to complete.
237249

@@ -258,7 +270,7 @@ To see the Azure Vote app in action, open a web browser to the external IP addre
258270

259271
![Image of browsing to Azure Vote](media/container-service-kubernetes-walkthrough/azure-voting-application.png)
260272

261-
## Delete cluster
273+
## Clean up resources
262274

263275
When the cluster is no longer needed, use the [az group delete][az-group-delete] command to remove the resource group, container service, and all related resources.
264276

0 commit comments

Comments
 (0)