public class KubernetesJobManagerParameters extends AbstractKubernetesParameters
flinkConfig| Constructor and Description |
|---|
KubernetesJobManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
org.apache.flink.client.deployment.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 |
getEntrypointClass() |
Map<String,String> |
getEnvironments()
A collection of customized environments that are attached to the JobManager and TaskManager
Container(s).
|
double |
getJobManagerCPU() |
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() |
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, hasLogbackpublic KubernetesJobManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
org.apache.flink.client.deployment.ClusterSpecification clusterSpecification)
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 int getJobManagerMemoryMB()
public double getJobManagerCPU()
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()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.