-
Notifications
You must be signed in to change notification settings - Fork 46
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
Change directory structure to a directory per container manager #1
Conversation
R: @patricklucas take a look. |
Patrick if you agree we can work now on making flink also an official chart of kubernetes :) |
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.
Sorry for the long delay here, forgot to follow up on this after my vacation.
@@ -8,7 +8,7 @@ Examples for how to use the Flink Docker images in a variety of ways. | |||
Docker Compose | |||
-------------- | |||
|
|||
Use the [Docker Compose config](docker-compose.yml) in this repo to create a local Flink cluster. | |||
Use the [Docker Compose config](docker/docker-compose.yml) in this repo to create a local Flink cluster. |
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.
Unfortunately there is a reference to this file in Flink's docs so we need to update that and probably maintain a symlink here until the next release.
any update on "making flink also an official chart of kubernetes"? Is there someone maintaining this? I've been using Flink with our own kubernetes resouces files, based on the documentation. I would prefer using a HELM chart. Trying this chart to set it up HA. No luck yet |
Excellent question @Vincemd. I would really love to work on this now. @patricklucas any chance we can do this with your code? |
@iemejia I now understand better the HA setup. I could not make it work with this Helm (see #4) but I think I got it working with my own manifest files and docker images. Also consider that document https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65147077 which outlines future changes to Flink to make it leverage the power containers and provisioning job managers and task manager just and only when needed. With current versions, there are two main ways to set it up HA with Kubernetes and Zookeeper:
Benefits of option 1: you don't need to wait for the container to be restarted. It should quickly pivot to the other job manager Benefit of option 2: cheaper to run, simpler to configure (only 1 k8s service). I think, after writing this, I'm inclined to use option 2 for production. Although we could have a helm chart that offers both options. |
@Vincemd will you be up to contribute actively to work on a helm chart ? We can then ask the community and try to make it an official helm chart as we did with the docker image. We can setup a repo for this here and start working on this based on @patricklucas's implementation. |
Yes I would need some help with #4 We need to be mindful of FLIP-6 so to not do too much work for nothing if the design changes considerably. |
After further testing I believe a single Job manager is sufficient in HA mode. I feel more confident it works with the LivenessProb #8 |
Hi folks, thanks for the continued discussion about this. The last few months have been pretty crazy and I let this work fall by the wayside. Regarding HA-mode: the general consensus has been that the best approach to Flink HA-mode when using a resource manager is to use a single jobmanager. Granted, as you've noticed, this leaves a few things unanswered, such as the best way to do a liveness probe, but I think what you have in #8 is a decent start. As far as this PR, @iemejia, if you fix up the conflicts and address the one comment I made (just replace that file you moved with a link to the new location) I think we can merge this and move on. |
@patricklucas agree. After implementing the liveness prob, I also decided to use a single Jobmanager. |
Sure, I am pretty busy at this moment but I will try to work on this next week and ping you guys |
I hadn't seen you have created a new repo for the examples. Nice.
Here is my first contribution, feel free to accept or not.