Class KubernetesJobManagerParameters
java.lang.Object
org.apache.flink.kubernetes.kubeclient.parameters.AbstractKubernetesParameters
org.apache.flink.kubernetes.kubeclient.parameters.KubernetesJobManagerParameters
- All Implemented Interfaces:
KubernetesParameters
A utility class helps parse, verify, and manage the Kubernetes side parameters that are used for
constructing the JobManager Pod and all accompanying resources connected to it.
-
Field Summary
Fields inherited from class org.apache.flink.kubernetes.kubeclient.parameters.AbstractKubernetesParameters
flinkConfig -
Constructor Summary
ConstructorsConstructorDescriptionKubernetesJobManagerParameters(org.apache.flink.configuration.Configuration flinkConfig, org.apache.flink.client.deployment.ClusterSpecification clusterSpecification) -
Method Summary
Modifier and TypeMethodDescriptionA map of user-specified annotations that are set to the JobManager and TaskManager pods.intA collection of customized environments that are attached to the JobManager and TaskManager Container(s).doubledoubledoubleintA collection of labels that are attached to the JobManager and TaskManager Pod(s).A collection of node selector to constrain a pod to only be able to run on particular node(s).intintintintA stable subset of labels attached to the resource to select the related resources.A collection of tolerations that are set to the JobManager and TaskManager Pod(s).booleanMethods inherited from class org.apache.flink.kubernetes.kubeclient.parameters.AbstractKubernetesParameters
getClusterId, getCommonLabels, getConfigDirectory, getContainerEntrypoint, getEnvironmentsFromSecrets, getExistingHadoopConfigurationConfigMap, getFlinkConfDirInPod, getFlinkConfiguration, getFlinkLogDirInPod, getImage, getImagePullPolicy, getImagePullSecrets, getLocalHadoopConfigurationDirectory, getNamespace, getSecretNamesToMountPaths, hasLog4j, hasLogback, isHostNetworkEnabled
-
Constructor Details
-
KubernetesJobManagerParameters
public KubernetesJobManagerParameters(org.apache.flink.configuration.Configuration flinkConfig, org.apache.flink.client.deployment.ClusterSpecification clusterSpecification)
-
-
Method Details
-
getLabels
Description copied from interface:KubernetesParametersA collection of labels that are attached to the JobManager and TaskManager Pod(s). -
getSelectors
Description copied from interface:KubernetesParametersA stable subset of labels attached to the resource to select the related resources. -
getNodeSelector
Description copied from interface:KubernetesParametersA collection of node selector to constrain a pod to only be able to run on particular node(s). -
getEnvironments
Description copied from interface:KubernetesParametersA collection of customized environments that are attached to the JobManager and TaskManager Container(s). -
getAnnotations
Description copied from interface:KubernetesParametersA map of user-specified annotations that are set to the JobManager and TaskManager pods. -
getTolerations
Description copied from interface:KubernetesParametersA collection of tolerations that are set to the JobManager and TaskManager Pod(s). Kubernetes taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. -
getPodTemplateFilePath
-
getOwnerReference
-
getRestServiceAnnotations
-
getInternalServiceAnnotations
-
getJobManagerMemoryMB
public int getJobManagerMemoryMB() -
getJobManagerCPU
public double getJobManagerCPU() -
getJobManagerCPULimitFactor
public double getJobManagerCPULimitFactor() -
getJobManagerMemoryLimitFactor
public double getJobManagerMemoryLimitFactor() -
getRestPort
public int getRestPort() -
getRestBindPort
public int getRestBindPort() -
getRPCPort
public int getRPCPort() -
getBlobServerPort
public int getBlobServerPort() -
getServiceAccount
-
getEntrypointClass
-
getRestServiceExposedType
-
isInternalServiceEnabled
public boolean isInternalServiceEnabled() -
getReplicas
public int getReplicas() -
getEntrypointArgs
-
getUserArtifactsBaseDir
-