public class KubernetesTaskManagerParameters extends AbstractKubernetesParameters
flinkConfig| Constructor and Description |
|---|
KubernetesTaskManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
String podName,
String dynamicProperties,
String jvmMemOptsEnv,
org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters containeredTaskManagerParameters,
Map<String,String> taskManagerExternalResourceConfigKeys) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
String |
getJvmMemOptsEnv() |
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() |
String |
getServiceAccount() |
double |
getTaskManagerCPU() |
Map<String,String> |
getTaskManagerExternalResourceConfigKeys() |
Map<String,org.apache.flink.api.common.resources.ExternalResource> |
getTaskManagerExternalResources() |
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, getEnvironmentsFromSecrets, getExistingHadoopConfigurationConfigMap, getFlinkConfDirInPod, getFlinkConfiguration, getFlinkLogDirInPod, getImage, getImagePullPolicy, getImagePullSecrets, getLocalHadoopConfigurationDirectory, getNamespace, getSecretNamesToMountPaths, hasLog4j, hasLogbackpublic KubernetesTaskManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
String podName,
String dynamicProperties,
String jvmMemOptsEnv,
org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters containeredTaskManagerParameters,
Map<String,String> taskManagerExternalResourceConfigKeys)
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 getPodName()
public int getTaskManagerMemoryMB()
public double getTaskManagerCPU()
public Map<String,org.apache.flink.api.common.resources.ExternalResource> getTaskManagerExternalResources()
public String getServiceAccount()
public Map<String,String> getTaskManagerExternalResourceConfigKeys()
public int getRPCPort()
public String getDynamicProperties()
public String getJvmMemOptsEnv()
public org.apache.flink.runtime.clusterframework.ContaineredTaskManagerParameters getContaineredTaskManagerParameters()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.