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/tutorial-kubernetes-workload-identity.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@ The following example creates a resource group named *myResourceGroup* in the *e
56
56
}
57
57
```
58
58
59
-
## Export environmental variables
59
+
## Export environment variables
60
60
61
-
To help simplify steps to configure the identities required, the steps below define environmental variables for reference on the cluster.
61
+
To help simplify steps to configure the identities required, the steps below define environment variables for reference on the cluster.
62
62
63
63
* Create these variables using the following commands. Replace the default values for `RESOURCE_GROUP`, `LOCATION`, `SERVICE_ACCOUNT_NAME`, `SUBSCRIPTION`, `USER_ASSIGNED_IDENTITY_NAME`, and `FEDERATED_IDENTITY_CREDENTIAL_NAME`.
Copy file name to clipboardExpand all lines: articles/aks/quickstart-event-grid.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ In this quickstart, you create an AKS cluster and subscribe to AKS events.
24
24
25
25
### [Azure CLI](#tab/azure-cli)
26
26
27
-
Create an AKS cluster using the [`az aks create`][az-aks-create] command. The following example creates a resource group *MyResourceGroup* and a cluster named *MyAKS* with one node in the *MyResourceGroup* resource group:
27
+
Create an AKS cluster using the [az aks create][az-aks-create] command. The following example creates a resource group *MyResourceGroup* and a cluster named *MyAKS* with one node in the *MyResourceGroup* resource group:
28
28
29
29
```azurecli-interactive
30
30
az group create --name MyResourceGroup --location eastus
@@ -33,7 +33,7 @@ az aks create -g MyResourceGroup -n MyAKS --location eastus --node-count 1 --ge
33
33
34
34
### [Azure PowerShell](#tab/azure-powershell)
35
35
36
-
Create an AKS cluster using the [`New-AzAksCluster`][new-azakscluster] command. The following example creates a resource group *MyResourceGroup* and a cluster named *MyAKS* with one node in the *MyResourceGroup* resource group:
36
+
Create an AKS cluster using the [New-AzAksCluster][new-azakscluster] command. The following example creates a resource group *MyResourceGroup* and a cluster named *MyAKS* with one node in the *MyResourceGroup* resource group:
Create a namespace and event hub using [`az eventhubs namespace create`][az-eventhubs-namespace-create] and [`az eventhubs eventhub create`][az-eventhubs-eventhub-create]. The following example creates a namespace *MyNamespace* and an event hub *MyEventGridHub* in *MyNamespace*, both in the *MyResourceGroup* resource group.
49
+
Create a namespace and event hub using [az eventhubs namespace create][az-eventhubs-namespace-create] and [az eventhubs eventhub create][az-eventhubs-eventhub-create]. The following example creates a namespace *MyNamespace* and an event hub *MyEventGridHub* in *MyNamespace*, both in the *MyResourceGroup* resource group.
50
50
51
51
```azurecli-interactive
52
52
az eventhubs namespace create --location eastus --name MyNamespace -g MyResourceGroup
Subscribe to the AKS events using [`az eventgrid event-subscription create`][az-eventgrid-event-subscription-create]:
59
+
Subscribe to the AKS events using [az eventgrid event-subscription create][az-eventgrid-event-subscription-create]:
60
60
61
61
```azurecli-interactive
62
62
SOURCE_RESOURCE_ID=$(az aks show -g MyResourceGroup -n MyAKS --query id --output tsv)
@@ -181,7 +181,7 @@ az group delete --name MyResourceGroup --yes --no-wait
181
181
182
182
### [Azure PowerShell](#tab/azure-powershell)
183
183
184
-
Use the [`Remove-AzResourceGroup`][remove-azresourcegroup] cmdlet to remove the resource group, the AKS cluster, namespace, and event hub, and all related resources.
184
+
Use the [Remove-AzResourceGroup][remove-azresourcegroup] cmdlet to remove the resource group, the AKS cluster, namespace, and event hub, and all related resources.
# Quickstart: Develop on Azure Kubernetes Service (AKS) with Helm
@@ -24,13 +24,13 @@ You need to store your container images in an Azure Container Registry (ACR) to
24
24
25
25
### [Azure CLI](#tab/azure-cli)
26
26
27
-
1. Create an Azure resource group using the [`az group create`][az-group-create] command. The following example creates a resource group named *myResourceGroup* in the *eastus* location.
27
+
1. Create an Azure resource group using the [az group create](/cli/azure/group#az-group-create) command. The following example creates a resource group named *myResourceGroup* in the *eastus* location.
28
28
29
29
```azurecli-interactive
30
30
az group create --name myResourceGroup --location eastus
31
31
```
32
32
33
-
2. Create an Azure Container Registry using the [`az acr create`][az-acr-create] command. The following example creates an ACR named *myhelmacr* with the *Basic* SKU.
33
+
2. Create an Azure Container Registry using the [az acr create][az-acr-create] command. The following example creates an ACR named *myhelmacr* with the *Basic* SKU.
34
34
35
35
```azurecli-interactive
36
36
az acr create --resource-group myResourceGroup --name myhelmacr --sku Basic
@@ -62,13 +62,13 @@ You need to store your container images in an Azure Container Registry (ACR) to
62
62
63
63
### [Azure PowerShell](#tab/azure-powershell)
64
64
65
-
1. Create an Azure resource group using the [`New-AzResourceGroup`][new-azresourcegroup] cmdlet. The following example creates a resource group named *myResourceGroup* in the *eastus* location.
65
+
1. Create an Azure resource group using the [New-AzResourceGroup][new-azresourcegroup] cmdlet. The following example creates a resource group named *myResourceGroup* in the *eastus* location.
2. Create an Azure Container Registry using the [`New-AzContainerRegistry`][new-azcontainerregistry] cmdlet. The following example creates an ACR named *myhelmacr* with the *Basic* SKU.
71
+
2. Create an Azure Container Registry using the [New-AzContainerRegistry][new-azcontainerregistry] cmdlet. The following example creates an ACR named *myhelmacr* with the *Basic* SKU.
@@ -91,15 +91,15 @@ Your new AKS cluster needs access to your ACR to pull the container images and r
91
91
92
92
### [Azure CLI](#tab/azure-cli)
93
93
94
-
* Create an AKS cluster using the [`az aks create`][az-aks-create] command with the `--attach-acr` parameter to grant the cluster access to your ACR. The following example creates an AKS cluster named *myAKSCluster* and grants it access to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
94
+
* Create an AKS cluster using the [az aks create][az-aks-create] command with the `--attach-acr` parameter to grant the cluster access to your ACR. The following example creates an AKS cluster named *myAKSCluster* and grants it access to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
95
95
96
96
```azurecli-interactive
97
97
az aks create --resource-group myResourceGroup --name myAKSCluster --location eastus --attach-acr myhelmacr --generate-ssh-keys
98
98
```
99
99
100
100
### [Azure PowerShell](#tab/azure-powershell)
101
101
102
-
* Create an AKS cluster using the [`New-AzAksCluster`][new-azakscluster] cmdlet with the `-AcrNameToAttach` parameter to grant the cluster access to your ACR. The following example creates an AKS cluster named *myAKSCluster* and grants it access to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
102
+
* Create an AKS cluster using the [New-AzAksCluster][new-azakscluster] cmdlet with the `-AcrNameToAttach` parameter to grant the cluster access to your ACR. The following example creates an AKS cluster named *myAKSCluster* and grants it access to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
@@ -113,27 +113,27 @@ To connect a Kubernetes cluster locally, you use the Kubernetes command-line cli
113
113
114
114
### [Azure CLI](#tab/azure-cli)
115
115
116
-
1. Install `kubectl` locally using the [`az aks install-cli`][az-aks-install-cli] command.
116
+
1. Install `kubectl` locally using the [az aks install-cli][az-aks-install-cli] command.
117
117
118
118
```azurecli-interactive
119
119
az aks install-cli
120
120
```
121
121
122
-
2. Configure `kubectl` to connect to your Kubernetes cluster using the [`az aks get-credentials`][az-aks-get-credentials] command. The following command gets credentials for the AKS cluster named *myAKSCluster* in *myResourceGroup*.
122
+
2. Configure `kubectl` to connect to your Kubernetes cluster using the [az aks get-credentials][az-aks-get-credentials] command. The following command gets credentials for the AKS cluster named *myAKSCluster* in *myResourceGroup*.
123
123
124
124
```azurecli-interactive
125
125
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster
126
126
```
127
127
128
128
### [Azure PowerShell](#tab/azure-powershell)
129
129
130
-
1. Install `kubectl` locally using the [`Install-AzAksKubectl`][install-azakskubectl] cmdlet.
130
+
1. Install `kubectl` locally using the [Install-AzAksKubectl][install-azakskubectl] cmdlet.
131
131
132
132
```azurepowershell-interactive
133
133
Install-AzAksKubectl
134
134
```
135
135
136
-
2. Configure `kubectl` to connect to your Kubernetes cluster using the [`Import-AzAksCredential`][import-azakscredential] cmdlet. The following command gets credentials for the AKS cluster named *myAKSCluster* in *myResourceGroup*:
136
+
2. Configure `kubectl` to connect to your Kubernetes cluster using the [Import-AzAksCredential][import-azakscredential] cmdlet. The following command gets credentials for the AKS cluster named *myAKSCluster* in *myResourceGroup*:
@@ -159,7 +159,7 @@ This quickstart uses the [Azure Vote application][azure-vote-app].
159
159
160
160
## Build and push the sample application to ACR
161
161
162
-
* Build and push the image to your ACR using the [`az acr build`][az-acr-build] command. The following example builds an image named *azure-vote-front:v1* and pushes it to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
162
+
* Build and push the image to your ACR using the [az acr build][az-acr-build] command. The following example builds an image named *azure-vote-front:v1* and pushes it to the *myhelmacr* ACR. Make sure you replace `myhelmacr` with the name of your ACR.
163
163
164
164
```azurecli-interactive
165
165
az acr build --image azure-vote-front:v1 --registry myhelmacr --file Dockerfile .
@@ -281,15 +281,15 @@ This quickstart uses the [Azure Vote application][azure-vote-app].
281
281
282
282
### [Azure CLI](#tab/azure-cli)
283
283
284
-
* Remove your resource group, AKS cluster, Azure container registry, container images stored in the ACR, and all related resources using the [`az group delete`][az-group-delete] command with the `--yes` parameter to confirm deletion and the `--no-wait` parameter to return to the command prompt without waiting for the operation to complete.
284
+
* Remove your resource group, AKS cluster, Azure container registry, container images stored in the ACR, and all related resources using the [az group delete][az-group-delete] command with the `--yes` parameter to confirm deletion and the `--no-wait` parameter to return to the command prompt without waiting for the operation to complete.
285
285
286
286
```azurecli-interactive
287
287
az group delete --name myResourceGroup --yes --no-wait
288
288
```
289
289
290
290
### [Azure PowerShell](#tab/azure-powershell)
291
291
292
-
* Remove your resource group, AKS cluster, Azure container registry, container images stored in the ACR, and all related resources using the [`Remove-AzResourceGroup`][remove-azresourcegroup] cmdlet with the `--yes` parameter to confirm deletion and the `--no-wait` parameter to return to the command prompt without waiting for the operation to complete.
292
+
* Remove your resource group, AKS cluster, Azure container registry, container images stored in the ACR, and all related resources using the [Remove-AzResourceGroup][remove-azresourcegroup] cmdlet with the `--yes` parameter to confirm deletion and the `--no-wait` parameter to return to the command prompt without waiting for the operation to complete.
Copy file name to clipboardExpand all lines: articles/aks/tutorial-kubernetes-scale.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ This tutorial requires Azure PowerShell version 5.9.0 or later. Run `Get-Install
76
76
77
77
## Autoscale pods
78
78
79
-
To use the horizontal pod autoscaler, All containers must have defined CPU requests and limits, and pads have specified requests. In the `aks-store-quickstart` deployment, the *front-end* container requests 1m CPU with a limit of 1000m CPU.
79
+
To use the horizontal pod autoscaler, all containers must have defined CPU requests and limits, and pods must have specified requests. In the `aks-store-quickstart` deployment, the *front-end* container requests 1m CPU with a limit of 1000m CPU.
80
80
81
81
These resource requests and limits are defined for each container, as shown in the following condensed example YAML:
Copy file name to clipboardExpand all lines: articles/aks/workload-identity-deploy-cluster.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,10 @@ This article assumes you have a basic understanding of Kubernetes concepts. For
23
23
24
24
- If you have multiple Azure subscriptions, select the appropriate subscription ID in which the resources should be billed using the [az account][az-account] command.
25
25
26
-
## Export environmental variables
26
+
## Export environment variables
27
27
28
28
To help simplify steps to configure the identities required, the steps below define
29
-
environmental variables for reference on the cluster.
29
+
environment variables for reference on the cluster.
30
30
31
31
Run the following commands to create these variables. Replace the default values for `RESOURCE_GROUP`, `LOCATION`, `SERVICE_ACCOUNT_NAME`, `SUBSCRIPTION`, `USER_ASSIGNED_IDENTITY_NAME`, and `FEDERATED_IDENTITY_CREDENTIAL_NAME`.
0 commit comments