Class KubernetesTaskManagerParameters

  • All Implemented Interfaces:
    KubernetesParameters

    public class KubernetesTaskManagerParameters
    extends AbstractKubernetesParameters
    A utility class helps parse, verify, and manage the Kubernetes side parameters that are used for constructing the TaskManager Pod.
    • Method Detail

      • getLabels

        public Map<String,​String> getLabels()
        Description copied from interface: KubernetesParameters
        A collection of labels that are attached to the JobManager and TaskManager Pod(s).
      • getSelectors

        public Map<String,​String> getSelectors()
        Description copied from interface: KubernetesParameters
        A stable subset of labels attached to the resource to select the related resources.
      • getNodeSelector

        public Map<String,​String> getNodeSelector()
        Description copied from interface: KubernetesParameters
        A collection of node selector to constrain a pod to only be able to run on particular node(s).
      • getEnvironments

        public Map<String,​String> getEnvironments()
        Description copied from interface: KubernetesParameters
        A collection of customized environments that are attached to the JobManager and TaskManager Container(s).
      • getAnnotations

        public Map<String,​String> getAnnotations()
        Description copied from interface: KubernetesParameters
        A map of user-specified annotations that are set to the JobManager and TaskManager pods.
      • getTolerations

        public List<Map<String,​String>> getTolerations()
        Description copied from interface: KubernetesParameters
        A collection of tolerations that are set to the JobManager and TaskManager Pod(s). Kubernetes taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes.
      • getPodName

        public String getPodName()
      • getTaskManagerMemoryMB

        public int getTaskManagerMemoryMB()
      • getTaskManagerCPU

        public double getTaskManagerCPU()
      • getTaskManagerCPULimitFactor

        public double getTaskManagerCPULimitFactor()
      • getTaskManagerMemoryLimitFactor

        public double getTaskManagerMemoryLimitFactor()
      • getServiceAccount

        public String getServiceAccount()
      • getTaskManagerExternalResourceConfigKeys

        public Map<String,​String> getTaskManagerExternalResourceConfigKeys()
      • getRPCPort

        public int getRPCPort()
      • getDynamicProperties

        public String getDynamicProperties()
      • getJvmMemOptsEnv

        public String getJvmMemOptsEnv()
      • getBlockedNodes

        public Set<String> getBlockedNodes()
      • getNodeNameLabel

        public String getNodeNameLabel()
      • getEntrypointArgs

        public String getEntrypointArgs()