![]() This operation overwrites the values of existing keys. Tags set on a node pool apply only to resources related to that node pool, mainly the virtual machine scale set (VMSS) used by the node pool.Tags set on an AKS cluster apply to all resources related to the cluster, but not the node pools and related virtual machine scale sets (VMSS) in the node resource group.For more information, see Assign policy definitions for tag compliance.īefore diving into how using Azure tags in AKS, let's see what happens when you set and update Azure tags with AKS clusters and their related resources: Tags can also now be applied to existing resources with the new Modify effect and a remediation task. Instead of manually applying tags or searching for resources that aren't compliant, you create a policy that automatically applies the needed tags during deployment. By creating a policy, you avoid the scenario of resources being deployed to your subscription that don't have the expected tags for your organization. You can use Azure Policy to create tagging rules and conventions for Azure resources, including AKS clusters or its resources. For more information on Azure Tags, see Use tags to organize your Azure resources and management hierarchy. You can apply tags to your Azure resources, resource groups, and subscriptions. Fully formed, the key-value pair becomes Environment = Production. To identify the resources deployed to production, give them a value of Production. If you want to track the deployment environment for your resources, add a key named Environment. They're key-value pairs that help you identify resources based on settings relevant to your organization. Tags are metadata elements that you apply to your Azure resources. This article explains how to set Azure tags for AKS clusters and related resources. Azure tags are a helpful mechanism to track resource usage and charge back their costs to separate tenants or business units within an organization. For some resources, such as a managed data disk created via a persistent volume claim or an Azure Public IP created by a public Kubernetes service, you can also use Kubernetes manifests to set Azure tags. As documented in Use Azure tags in Azure Kubernetes Service (AKS), you can use Azure tags on an AKS cluster to associate its related resources to a given workload or tenant.
0 Comments
Leave a Reply. |