public class KubernetesJobManagerParameters extends AbstractKubernetesParameters
flinkConfig
Constructor and Description |
---|
KubernetesJobManagerParameters(Configuration flinkConfig,
ClusterSpecification clusterSpecification) |
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.
|
int |
getBlobServerPort() |
String |
getEntrypointArgs() |
String |
getEntrypointClass() |
Map<String,String> |
getEnvironments()
A collection of customized environments that are attached to the JobManager and TaskManager
Container(s).
|
double |
getJobManagerCPU() |
double |
getJobManagerCPULimitFactor() |
double |
getJobManagerMemoryLimitFactor() |
int |
getJobManagerMemoryMB() |
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).
|
List<Map<String,String>> |
getOwnerReference() |
Optional<File> |
getPodTemplateFilePath() |
int |
getReplicas() |
int |
getRestBindPort() |
int |
getRestPort() |
Map<String,String> |
getRestServiceAnnotations() |
KubernetesConfigOptions.ServiceExposedType |
getRestServiceExposedType() |
int |
getRPCPort() |
Map<String,String> |
getSelectors()
A stable subset of labels attached to the resource to select the related resources.
|
String |
getServiceAccount() |
List<Map<String,String>> |
getTolerations()
A collection of tolerations that are set to the JobManager and TaskManager Pod(s).
|
boolean |
isInternalServiceEnabled() |
getClusterId, getCommonLabels, getConfigDirectory, getContainerEntrypoint, getEnvironmentsFromSecrets, getExistingHadoopConfigurationConfigMap, getFlinkConfDirInPod, getFlinkConfiguration, getFlinkLogDirInPod, getImage, getImagePullPolicy, getImagePullSecrets, getLocalHadoopConfigurationDirectory, getNamespace, getSecretNamesToMountPaths, hasLog4j, hasLogback, isHostNetworkEnabled
public KubernetesJobManagerParameters(Configuration flinkConfig, ClusterSpecification clusterSpecification)
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 int getJobManagerMemoryMB()
public double getJobManagerCPU()
public double getJobManagerCPULimitFactor()
public double getJobManagerMemoryLimitFactor()
public int getRestPort()
public int getRestBindPort()
public int getRPCPort()
public int getBlobServerPort()
public String getServiceAccount()
public String getEntrypointClass()
public KubernetesConfigOptions.ServiceExposedType getRestServiceExposedType()
public boolean isInternalServiceEnabled()
public int getReplicas()
public String getEntrypointArgs()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.