You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "hippo (Jira)" <ji...@apache.org> on 2020/01/19 05:48:00 UTC
[jira] [Commented] (FLINK-15640) Support to set label and node
selector
[ https://issues.apache.org/jira/browse/FLINK-15640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018802#comment-17018802 ]
hippo commented on FLINK-15640:
-------------------------------
Can assign https://issues.apache.org/jira/browse/FLINK-15640 for me?
[~fly_in_gis]
> Support to set label and node selector
> --------------------------------------
>
> Key: FLINK-15640
> URL: https://issues.apache.org/jira/browse/FLINK-15640
> Project: Flink
> Issue Type: Sub-task
> Components: Deployment / Kubernetes
> Reporter: Yang Wang
> Priority: Major
>
> 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.user.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.user.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)