-
Notifications
You must be signed in to change notification settings - Fork 155
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
Scaling Orchestration #146
Comments
I am not aware of something that is available (or straightforward) to achieve this. We have wanted to build some functionality like this in the Operator, we are yet to design it. |
Hi, we would also be interested into an Do you have some design yet? Or would you prefer to collaborate on this design? One idea is to compare Kafka message timestamp (or custom message payload timestamp) with current time, which has some obvious drawbacks, of course, but as an MVP I think it's excellent, as it would be optional.
|
It seems this thread is out of date. Since May, 2021, the Flink team has introduced Reactive Mode with Flink If I'm thinking through this correctly, we already have access to the Flink configuration updates to enable reactive mode: scheduler-mode: reactive and by deploying a container with Flink I can test appending HPA on after the fact, I haven't yet. But this should be enough in theory to get this working unless there are other Operator considerations that need to be made for managing the deployment with HPA. More info on Reactive Mode. |
@JRemitz Sounds good. I guess there is one scenario, the deployment object created by the operator will need min/max. no ? |
Yes, really the entire HPA definition for CPU/memory rules. I'm not overly familiar with the CRD structure. Can you reference existing API objects as complex structures for validation? |
Hi,
I have a question regarding scaling the parallelism value.
For now, we are doing the manual way, whereby we edit the FlinkApplication YAML to change the parallelism value, apply the YAML, and let the operator transition from the old job cluster to the newly created job cluster.
Is there any recommended way to automatically orchestrate the above, similar to how HPA works in K8S, whereby HPA will kick in once the metrics exceed a certain value?
The text was updated successfully, but these errors were encountered: