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/01/17 14:44:00 UTC
[jira] [Created] (FLINK-15640) Support to set label and node
selector
Yang Wang created FLINK-15640:
---------------------------------
Summary: 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
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)