public class KubernetesTaskManagerParameters extends AbstractKubernetesParameters
flinkConfig
Constructor and Description |
---|
KubernetesTaskManagerParameters(Configuration flinkConfig,
String podName,
String dynamicProperties,
String jvmMemOptsEnv,
ContaineredTaskManagerParameters containeredTaskManagerParameters,
Map<String,String> taskManagerExternalResourceConfigKeys,
Set<String> blockedNodes) |
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.
|
Set<String> |
getBlockedNodes() |
ContaineredTaskManagerParameters |
getContaineredTaskManagerParameters() |
String |
getDynamicProperties() |
String |
getEntrypointArgs() |
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).
|
String |
getNodeNameLabel() |
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() |
Map<String,String> |
getSelectors()
A stable subset of labels attached to the resource to select the related resources.
|
String |
getServiceAccount() |
double |
getTaskManagerCPU() |
double |
getTaskManagerCPULimitFactor() |
Map<String,String> |
getTaskManagerExternalResourceConfigKeys() |
Map<String,ExternalResource> |
getTaskManagerExternalResources() |
double |
getTaskManagerMemoryLimitFactor() |
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, hasLogback, isHostNetworkEnabled
public KubernetesTaskManagerParameters(Configuration flinkConfig, String podName, String dynamicProperties, String jvmMemOptsEnv, ContaineredTaskManagerParameters containeredTaskManagerParameters, Map<String,String> taskManagerExternalResourceConfigKeys, Set<String> blockedNodes)
public Map<String,String> getLabels()
KubernetesParameters
public Map<String,String> getSelectors()
KubernetesParameters
public Map<String,String> getNodeSelector()
KubernetesParameters
public Map<String,String> getEnvironments()
KubernetesParameters
public Map<String,String> getAnnotations()
KubernetesParameters
public List<Map<String,String>> getTolerations()
KubernetesParameters
public String getPodName()
public int getTaskManagerMemoryMB()
public double getTaskManagerCPU()
public double getTaskManagerCPULimitFactor()
public double getTaskManagerMemoryLimitFactor()
public Map<String,ExternalResource> getTaskManagerExternalResources()
public String getServiceAccount()
public Map<String,String> getTaskManagerExternalResourceConfigKeys()
public int getRPCPort()
public String getDynamicProperties()
public String getJvmMemOptsEnv()
public ContaineredTaskManagerParameters getContaineredTaskManagerParameters()
public String getNodeNameLabel()
public String getEntrypointArgs()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.