You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2020/03/24 10:46:00 UTC
[jira] [Updated] (FLINK-15640) Support to set user specified labels
for JM/TM pod
[ https://issues.apache.org/jira/browse/FLINK-15640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Wang updated FLINK-15640:
------------------------------
Summary: Support to set user specified labels for JM/TM pod (was: Support to set label and node selector)
> Support to set user specified labels for JM/TM pod
> --------------------------------------------------
>
> Key: FLINK-15640
> URL: https://issues.apache.org/jira/browse/FLINK-15640
> Project: Flink
> Issue Type: Sub-task
> Components: Deployment / Kubernetes
> Reporter: Yang Wang
> Assignee: Yang Wang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Navigate to [Kubernetes doc|https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/] for more information.
> {code:java}
> public static final ConfigOption<String> JOB_MANAGER_USER_LABELS =
> key("kubernetes.jobmanager.labels")
> .noDefaultValue()
> .withDescription("The labels to be set for JobManager replica controller, service and pods. " +
> "Specified as key:value pairs separated by commas. such as version:alphav1,deploy:test.");
> public static final ConfigOption<String> TASK_MANAGER_USER_LABELS =
> key("kubernetes.taskmanager.labels")
> .noDefaultValue()
> .withDescription("The labels to be set for TaskManager pods. " +
> "Specified as key:value pairs separated by commas. such as version:alphav1,deploy:test.");
> public static final ConfigOption<String> JOB_MANAGER_NODE_SELECTOR =
> key("kubernetes.jobmanager.node-selector")
> .noDefaultValue()
> .withDescription("The node-selector to be set for JobManager pod. " +
> "Specified as key:value pairs separated by commas. such as environment:dev,tier:frontend.");
> public static final ConfigOption<String> TASK_MANAGER_NODE_SELECTOR =
> key("kubernetes.taskmanager.node-selector")
> .noDefaultValue()
> .withDescription("The node-selector to be set for TaskManager pods. " +
> "Specified as key:value pairs separated by commas. such as environment:dev,tier:frontend.");
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)