-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLINK-20359 Added Owner Reference to Job Manager in native kubernetes setup #14281
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 6a43ad7 (Fri May 28 07:13:02 UTC 2021) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
@blublinsky Generally, this PR could work. But I think we could make the implementation more gracefully.
|
We could, which creates a lot of code, which not really add clarity or simplicity. Right now it is just 9 lines of code. What is the point of creation additional class, that is doing exactly the same? |
@blublinsky Thanks for your comments. First, I believe parsing the [1]. https://flink.apache.org/contributing/code-style-and-quality-common.html#design-for-testability |
@wangyang0918, thanks for the comment |
@wangyang0918 |
Closing this PR, with #14591 as the replacement. |
What is the purpose of the change
Flink implementation is often a part of the larger application. As a result a synchronized management - clean up of Flink resources, when a main application is deleted is important. In Kubernetes, a common approach for such clean up is usage of the owner's reference (https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/)
This PR allows adding owner reference support to Flink Job manager
Brief change log
(for example:)
Verifying this change
(Please pick either of the following options)
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: yesDocumentation