Key Default Type Description
kubernetes.cluster-id
(none) String The cluster id used for identifying the unique flink cluster. If it's not set, the client will generate a random UUID name.
kubernetes.config.file
(none) String The kubernetes config file will be used to create the client. The default is located at ~/.kube/config
kubernetes.container-start-command-template
"%java% %classpath% %jvmmem% %jvmopts% %logging% %class% %args% %redirects%" String Template for the kubernetes jobmanager and taskmanager container start invocation.
kubernetes.container.image
"flink:latest" String Image to use for Flink containers.
kubernetes.container.image.pull-policy
"IfNotPresent" String Kubernetes image pull policy. Valid values are Always, Never, and IfNotPresent. The default policy is IfNotPresent to avoid putting pressure to image repository.
kubernetes.entry.path
"/opt/flink/bin/kubernetes-entry.sh" String The entrypoint script of kubernetes in the image. It will be used as command for jobmanager and taskmanager container.
kubernetes.flink.conf.dir
"/opt/flink/conf" String The flink conf directory that will be mounted in pod. The flink-conf.yaml, log4j.properties, logback.xml in this path will be overwritten from config map.
kubernetes.flink.log.dir
"/opt/flink/log" String The directory that logs of jobmanager and taskmanager be saved in the pod.
kubernetes.jobmanager.cpu
1.0 Double The number of cpu used by job manager
kubernetes.jobmanager.service-account
"default" String Service account that is used by jobmanager within kubernetes cluster. The job manager uses this service account when requesting taskmanager pods from the API server.
kubernetes.namespace
"default" String The namespace that will be used for running the jobmanager and taskmanager pods.
kubernetes.rest-service.exposed.type
"LoadBalancer" String It could be ClusterIP/NodePort/LoadBalancer(default). When set to ClusterIP, the rest servicewill not be created.
kubernetes.service.create-timeout
"1 min" String Timeout used for creating the service. The timeout value requires a time-unit specifier (ms/s/min/h/d).
kubernetes.taskmanager.cpu
-1.0 Double The number of cpu used by task manager. By default, the cpu is set to the number of slots per TaskManager