Interface KubernetesParameters
- All Known Implementing Classes:
AbstractKubernetesParameters,KubernetesJobManagerParameters,KubernetesTaskManagerParameters
public interface KubernetesParameters
A common collection of parameters that is used to construct the JobManager/TaskManager Pods,
including the accompanying Kubernetes resources that together represent a Flink application.
-
Method Summary
Modifier and TypeMethodDescriptionA map of user-specified annotations that are set to the JobManager and TaskManager pods.A common collection of labels that are attached to every created Kubernetes resources.The docker entrypoint that starts processes in the container.A collection of customized environments that are attached to the JobManager and TaskManager Container(s).A collection of customized environments that are attached to the JobManager and TaskManager container(s).The existing ConfigMap containing custom Hadoop configuration.Directory in Pod that stores the config.yaml, log4j.properties, and the logback.xml.Directory in Pod that saves the log files.getImage()io.fabric8.kubernetes.api.model.LocalObjectReference[]A collection of labels that are attached to the JobManager and TaskManager Pod(s).The local directory to locate the custom Hadoop configuration.A collection of node selector to constrain a pod to only be able to run on particular node(s).A collection of secret and path pairs that are mounted to the JobManager and TaskManager container(s).A 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).booleanhasLog4j()Whether the log4j.properties is located.booleanWhether the logback.xml is located.
-
Method Details
-
getConfigDirectory
String getConfigDirectory() -
getClusterId
String getClusterId() -
getNamespace
String getNamespace() -
getImage
String getImage() -
getImagePullPolicy
KubernetesConfigOptions.ImagePullPolicy getImagePullPolicy() -
getImagePullSecrets
io.fabric8.kubernetes.api.model.LocalObjectReference[] getImagePullSecrets() -
getCommonLabels
A common collection of labels that are attached to every created Kubernetes resources. This can include the Deployment, the Pod(s), the ConfigMap(s), and the Service(s), etc. -
getLabels
A collection of labels that are attached to the JobManager and TaskManager Pod(s). -
getSelectors
A stable subset of labels attached to the resource to select the related resources. -
getNodeSelector
A collection of node selector to constrain a pod to only be able to run on particular node(s). -
getEnvironments
A collection of customized environments that are attached to the JobManager and TaskManager Container(s). -
getAnnotations
A map of user-specified annotations that are set to the JobManager and TaskManager pods. -
getTolerations
A 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. -
getFlinkConfDirInPod
String getFlinkConfDirInPod()Directory in Pod that stores the config.yaml, log4j.properties, and the logback.xml. -
getFlinkLogDirInPod
Directory in Pod that saves the log files. -
getContainerEntrypoint
String getContainerEntrypoint()The docker entrypoint that starts processes in the container. -
hasLogback
boolean hasLogback()Whether the logback.xml is located. -
hasLog4j
boolean hasLog4j()Whether the log4j.properties is located. -
getExistingHadoopConfigurationConfigMap
The existing ConfigMap containing custom Hadoop configuration. -
getLocalHadoopConfigurationDirectory
The local directory to locate the custom Hadoop configuration. -
getSecretNamesToMountPaths
A collection of secret and path pairs that are mounted to the JobManager and TaskManager container(s). -
getEnvironmentsFromSecrets
A collection of customized environments that are attached to the JobManager and TaskManager container(s).
-