public class KubernetesJobManagerParameters extends AbstractKubernetesParameters
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
JOB_MANAGER_MAIN_CONTAINER_NAME |
flinkConfig| 构造器和说明 |
|---|
KubernetesJobManagerParameters(org.apache.flink.configuration.Configuration flinkConfig,
org.apache.flink.client.deployment.ClusterSpecification clusterSpecification) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
String |
getJobManagerMainContainerName() |
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).
|
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, getExistingHadoopConfigurationConfigMap, getFlinkConfDirInPod, getFlinkConfiguration, getFlinkLogDirInPod, getImage, getImagePullPolicy, getImagePullSecrets, getLocalHadoopConfigurationDirectory, getNamespace, 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 String getJobManagerMainContainerName()
public 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()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.