Enterprise Distributed Application Service (EDAS) allows you to add tags to a resource. You can use tags to mark and classify resources. This facilitates the management of resources in the EDAS console. This topic describes how to add tags to Kubernetes clusters and how to filter Kubernetes clusters by tag.
Background information
Tags are used to identify cloud resources. You can use tags to mark, search, and group resources. This facilitates the management of resources. You can add one or more tags to each resource.
If you have deployed a large number of resources such as applications, Kubernetes clusters, and Elastic Compute Service (ECS) instances in EDAS, you can use tags to group these resources. This way, you can use tags to filter resources and perform operations on multiple resources at a time.
- Tags can be used to indicate different environments.
- Test environment: You can specify a key-value pair such as Environment=TEST to create a tag and add it to resources that are in the test environment.
- Development environment: You can specify a key-value pair such as Environment=DEV to create a tag and add it to resources that are in the development environment.
- Production environment: You can specify a key-value pair such as Environment=PROD to create a tag and add it to resources that are in the production environment.
- Tags can be used to indicate different teams or projects.
- Team 1 or Project 1: You can specify a key-value pair such as Team=team1 to create a tag and add it to resources that belong to Team 1 or Project 1.
- Team 2 or Project 2: You can specify a key-value pair such as Team=team2 to create a tag and add it to resources that belong to Team 2 or Project 2.