-
Notifications
You must be signed in to change notification settings - Fork 266
feat:nativeFlinkSessionCluster #235
base: master
Are you sure you want to change the base?
feat:nativeFlinkSessionCluster #235
Conversation
/gcbrun |
Thanks for the contribution! Will review and test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few high level comments first:
- I find the new field name confusing, why don't we call it
nativeSessionClusterSpec
, since it is a session cluster, there is no job. - could you add a sample CR YAML file?
- could you add the usage of NativeFlinkSessionCluster in the user doc?
Thanks for your response! Here is my answer. quesiton1:
question2: cat flinkoperator_v1beta1_flinknativesessioncluster.yaml question3: method 2: The $cluster-name is the MetaData name in the flinkoperator_v1beta1_flinknativesessioncluster.yaml method3: How to delete a NativeFlinkSessionCluster: |
Thanks for the clarification! IIUC, To be honest, when I first saw |
Thanks for your response. Actually, my first solution is what you suggestd. That is , fink operaor handle the resurce creation. The svc, deployment, configmap which created by |
|
Thanks for your further clarification! Since the feature is still in Beta, it is subject to changes in future Flink versions, let's hold this PR off and think it through. Anyway, thanks for the initiative! |
Thanks. And In Flink 1.11, the feature |
Title:
This new feature is to support flink native k8s cluster.
Prerequisites:
Version >= 1.10 of Apache Flink
Why this feature:
Currently, there are jobManager, taskManager and job in the Spec of FlinkCluster and can create session cluster and per job cluster.
But it does't support the flink's native setup on k8s feature(in Flink 1.10).
Solution:
In the Spec of FlinkCluster, we introduce a new property, which called "nativeSessionClusterJob". With this property, only a job will be created. This job is used to create a native session cluster, the whole process to create the native session cluster is done by
the Flink kernel itself.