public class KubernetesTaskManagerParameters extends AbstractKubernetesParameters
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
TASK_MANAGER_MAIN_CONTAINER_NAME |
flinkConfig| 构造器和说明 |
|---|
KubernetesTaskManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
String podName,
String dynamicProperties,
org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters containeredTaskManagerParameters,
Map<String,Long> taskManagerExternalResources) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
getAnnotations()
A map of user-specified annotations that are set to the JobManager and TaskManager pods.
|
org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters |
getContaineredTaskManagerParameters() |
String |
getDynamicProperties() |
Map<String,String> |
getEnvironments()
A collection of customized environments that are attached to the JobManager and TaskManager Container(s).
|
Map<String,String> |
getLabels()
A collection of labels that are attached to the JobManager and TaskManager Pod(s).
|
Map<String,String> |
getNodeSelector()
A collection of node selector to constrain a pod to only be able to run on particular node(s).
|
String |
getPodName() |
int |
getRPCPort() |
double |
getTaskManagerCPU() |
Map<String,Long> |
getTaskManagerExternalResources() |
String |
getTaskManagerMainContainerName() |
int |
getTaskManagerMemoryMB() |
List<Map<String,String>> |
getTolerations()
A collection of tolerations that are set to the JobManager and TaskManager Pod(s).
|
getClusterId, getCommonLabels, getConfigDirectory, getContainerEntrypoint, getExistingHadoopConfigurationConfigMap, getFlinkConfDirInPod, getFlinkConfiguration, getFlinkLogDirInPod, getImage, getImagePullPolicy, getImagePullSecrets, getLocalHadoopConfigurationDirectory, getNamespace, hasLog4j, hasLogbackpublic KubernetesTaskManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
String podName,
String dynamicProperties,
org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters containeredTaskManagerParameters,
Map<String,Long> taskManagerExternalResources)
public Map<String,String> getLabels()
KubernetesParameterspublic Map<String,String> getNodeSelector()
KubernetesParameterspublic Map<String,String> getEnvironments()
KubernetesParameterspublic Map<String,String> getAnnotations()
KubernetesParameterspublic List<Map<String,String>> getTolerations()
KubernetesParameterspublic String getTaskManagerMainContainerName()
public String getPodName()
public int getTaskManagerMemoryMB()
public double getTaskManagerCPU()
public int getRPCPort()
public String getDynamicProperties()
public org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters getContaineredTaskManagerParameters()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.