forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
9.1 KiB
9.1 KiB
Adding Tags to a Flink Job
A tag is a user-defined key-value pair used to identify cloud resources, helping you classify and search for them. A tag consists of a tag key and a tag value.
DLI allows you to add tags to Flink jobs. You can add tags to Flink jobs to identify information such as the project name, service type, and background. If you use tags in other cloud services, you are advised to create the same tag key-value pairs for cloud resources used by the same business to keep consistency.
DLI supports the following two types of tags:
This section includes the following content:
Managing a Job Tag
DLI allows you to add, modify, or delete tags for jobs.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- Click the name of the job to be viewed. The Job Details page is displayed.
- Click Tags to display the tag information about the current job.
- On the page that appears, click Add/Edit Tag in the upper left corner.
- Configure the tag parameters in the Add/Edit Tag dialog box.
- Click OK.
- (Optional) To delete a tag, locate the tag in the tag list and click Delete in its Operation column.
Searching for a Job by Tag
If tags have been added to a job, you can search for the job by setting tag filtering conditions to quickly find it.
- In the left navigation pane of the DLI management console, choose > . The Flink Jobs page is displayed.
- In the upper right corner of the page, click the search box and select Tags.
- Choose a tag key and value as prompted. If no tag key or value is available, create a tag for the job. For details, see Managing a Job Tag.
- Choose other tags to generate a tag combination for job search.
- Click search icon. The target job will be displayed in the job list.
Parent topic: Submitting a Flink Job on the DLI Management Console
