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/use-tags.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ It's a good idea to understand what happens when you set and update Azure tags w
38
38
When you create or update an AKS cluster with the `--tags` parameter, the following are assigned the Azure tags that you've specified:
39
39
40
40
* The AKS cluster
41
+
* The node resource group
41
42
* The route table that's associated with the cluster
42
43
* The public IP that's associated with the cluster
43
44
* The network security group that's associated with the cluster
@@ -46,7 +47,7 @@ When you create or update an AKS cluster with the `--tags` parameter, the follow
46
47
To create a cluster and assign Azure tags, run `az aks create` with the `--tags` parameter, as shown in the following command. Running the command creates a *myAKSCluster* in the *myResourceGroup* with the tags *dept=IT* and *costcenter=9999*.
47
48
48
49
> [!NOTE]
49
-
> To set tags on the initial node pool, the node resource group, the virtual machine scale set, and each virtual machine scale set instance that's associated with the initial node pool, also set the `--nodepool-tags` parameter.
50
+
> To set tags on the initial node pool, the virtual machine scale set, and each virtual machine scale set instance that's associated with the initial node pool, also set the `--nodepool-tags` parameter.
50
51
51
52
```azurecli-interactive
52
53
az aks create \
@@ -103,7 +104,6 @@ You can apply an Azure tag to a new or existing node pool in your AKS cluster. T
103
104
When you create or update a node pool with the `--tags` parameter, the tags that you specify are assigned to the following resources:
104
105
105
106
* The node pool
106
-
* The node resource group
107
107
* The virtual machine scale set and each virtual machine scale set instance that's associated with the node pool
108
108
109
109
To create a node pool with an Azure tag, run `az aks nodepool add` with the `--tags` parameter. Running the following command creates a *tagnodepool* node pool with the tags *abtest=a* and *costcenter=5555* in the *myAKSCluster*.
@@ -203,4 +203,4 @@ parameters:
203
203
>
204
204
> Any updates that you make to tags through Kubernetes will retain the value that's set through Kubernetes. For example, if your disk has tags *dept=IT* and *costcenter=5555* set by Kubernetes, and you use the portal to set the tags *team=beta* and *costcenter=3333*, the new list of tags would be *dept=IT*, *team=beta*, and *costcenter=5555*. If you then remove the disk through Kubernetes, the disk would have the tag *team=beta*.
0 commit comments