Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This is phase 2 of active kubernetes integration. It is a umbrella jira to track all the advanced features and make Flink on Kubernetes production ready.
Since the K8s is fast evolving and many new features will be supported in the future. Recently, i am thinking about which feature should be supported in flink configuration directly. And i have asked some suggestion from our users. I get the very rough conclusion here.
> Very common use features. They should be directly supported in flink configuration
- Kube config, namespace, service account, image(pull-policy, secrets), service exposed type
- Annotations, Labels, NodeSelector
- Toleration
- Mem and cpu resources for jobmanager and taskmanager
- Jobmanager deployment replication, support multiple jobmanagers to get fast recovery
> Uncommon, but required by few production users. Maybe pod template FLINK-15656 is enough(will be supported in phase3).
- Affinity and anti-affinity
- Volume mount, from persistent volume, user created configmap, etc.
- Dns policy
- Sidecar container, will be used for debugging, log collecting, etc. In our internal production environment, we choose log4j2 custom appender to collect the jobmanager/taskmanger logs to persistent storage(HDFS, Aliyun OSS, etc.)
- Init container, various initialization before user program running, download user jars and dependencies, register with external system, etc. We provide two ways for the image choice, user specified image with users jars baked in or official image with init container.
Attachments
Issue Links
- is related to
-
FLINK-9953 Active Kubernetes integration
- Closed
-
FLINK-17709 Active Kubernetes integration phase 3 - Advanced Features
- Closed
- links to
1.
|
Support application mode in kubernetes | Closed | Yang Wang | |||||||||
2.
|
Support to ship user config files on kubernetes | Closed | Yang Wang | |||||||||
3.
|
Support to set toleration for jobmanager and taskmanger | Closed | Yang Wang |
|
||||||||
4.
|
Support to set user specified labels for JM/TM pod | Closed | Yang Wang |
|
||||||||
5.
|
Support to set node selector for JM/TM pod | Closed | Yang Wang |
|
||||||||
6.
|
Support for imagePullSecrets k8s option | Closed | Canbin Zheng |
|
||||||||
7.
|
Support user-specified annotations for JM/TM pods | Resolved | Canbin Zheng |
|
||||||||
8.
|
Rethink the necessity of the internal Service | Closed | Unassigned | |||||||||
9.
|
Support to mount Hadoop Configurations | Closed | Canbin Zheng |
|
||||||||
10.
|
Configurable K8s context support | Closed | Canbin Zheng |
|
||||||||
11.
|
Rework the Service design for native Kubernetes deployment | Closed | Canbin Zheng |
|
||||||||
12.
|
Support user-specified annotations for the rest Service | Closed | Canbin Zheng |