public abstract class AbstractKubernetesParameters extends Object implements KubernetesParameters
KubernetesParameters.| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.configuration.Configuration |
flinkConfig |
| 构造器和说明 |
|---|
AbstractKubernetesParameters(org.apache.flink.configuration.Configuration flinkConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClusterId() |
Map<String,String> |
getCommonLabels()
A common collection of labels that are attached to every created Kubernetes resources.
|
String |
getConfigDirectory() |
String |
getContainerEntrypoint()
The docker entrypoint that starts processes in the container.
|
Optional<String> |
getExistingHadoopConfigurationConfigMap()
The existing ConfigMap containing custom Hadoop configuration.
|
String |
getFlinkConfDirInPod()
Directory in Pod that stores the flink-conf.yaml, log4j.properties, and the logback.xml.
|
org.apache.flink.configuration.Configuration |
getFlinkConfiguration() |
String |
getFlinkLogDirInPod()
Directory in Pod that saves the log files.
|
String |
getImage() |
KubernetesConfigOptions.ImagePullPolicy |
getImagePullPolicy() |
io.fabric8.kubernetes.api.model.LocalObjectReference[] |
getImagePullSecrets() |
Optional<String> |
getLocalHadoopConfigurationDirectory()
The local directory to locate the custom Hadoop configuration.
|
String |
getNamespace() |
boolean |
hasLog4j()
Whether the log4j.properties is located.
|
boolean |
hasLogback()
Whether the logback.xml is located.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotations, getEnvironments, getLabels, getNodeSelector, getTolerationspublic AbstractKubernetesParameters(org.apache.flink.configuration.Configuration flinkConfig)
public org.apache.flink.configuration.Configuration getFlinkConfiguration()
public String getConfigDirectory()
getConfigDirectory 在接口中 KubernetesParameterspublic String getClusterId()
getClusterId 在接口中 KubernetesParameterspublic String getNamespace()
getNamespace 在接口中 KubernetesParameterspublic String getImage()
getImage 在接口中 KubernetesParameterspublic KubernetesConfigOptions.ImagePullPolicy getImagePullPolicy()
getImagePullPolicy 在接口中 KubernetesParameterspublic io.fabric8.kubernetes.api.model.LocalObjectReference[] getImagePullSecrets()
getImagePullSecrets 在接口中 KubernetesParameterspublic Map<String,String> getCommonLabels()
KubernetesParametersgetCommonLabels 在接口中 KubernetesParameterspublic String getFlinkConfDirInPod()
KubernetesParametersgetFlinkConfDirInPod 在接口中 KubernetesParameterspublic String getFlinkLogDirInPod()
KubernetesParametersgetFlinkLogDirInPod 在接口中 KubernetesParameterspublic String getContainerEntrypoint()
KubernetesParametersgetContainerEntrypoint 在接口中 KubernetesParameterspublic boolean hasLogback()
KubernetesParametershasLogback 在接口中 KubernetesParameterspublic boolean hasLog4j()
KubernetesParametershasLog4j 在接口中 KubernetesParameterspublic Optional<String> getExistingHadoopConfigurationConfigMap()
KubernetesParameterspublic Optional<String> getLocalHadoopConfigurationDirectory()
KubernetesParametersCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.