[jira] [Created] (FLINK-15640) Support to set label and node selector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15640) Support to set label and node selector

Shang Yuanchun (Jira)
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)