dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature][Task] Submit Flink task directly on Kubernetes

Open kezhenxu94 opened this issue 2 years ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

We will support two methods to submit Flink jobs to Kubernetes

  • Flink JobManager/TaskManager deployed on Kubernetes
./bin/flink run -m <jobmanager.address>:<jobmanager.port> ./examples/streaming/TopSpeedWindowing.jar
  • Native Kubernetes

We will only support Application Mode as that's recommended in production.

kubectl create serviceaccount flink-service-account
kubectl create clusterrolebinding flink-role-binding-flink --clusterrole=edit --serviceaccount=default:flink-service-account  

./bin/flink run-application \
    --target kubernetes-application \
    -Dkubernetes.cluster-id=wordcount \
    -Dkubernetes.service-account=flink-service-account \
    local:///opt/flink/examples/batch/WordCount.jar

Use case

No response

Related issues

Similar to #13511 /cc @Radeity

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

kezhenxu94 avatar Feb 08 '23 11:02 kezhenxu94

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Feb 08 '23 11:02 github-actions[bot]

Hi, @kezhenxu94, it's similar with Spark, and maybe they can share some component, like k8s application manager, you can assign me, i'll try my best.

Radeity avatar Feb 08 '23 12:02 Radeity

Hi, @kezhenxu94, it's similar with Spark, and maybe they can share some component, like k8s application manager, you can assign me, i'll try my best.

Hi @Radeity thanks for the interest, assigned

kezhenxu94 avatar Feb 08 '23 12:02 kezhenxu94

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Oct 18 '24 00:10 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Oct 25 '24 00:10 github-actions[bot]