flinkk8soperator icon indicating copy to clipboard operation
flinkk8soperator copied to clipboard

Question: is savepointing required?

Open hadronzoo opened this issue 5 years ago • 3 comments

Thank you for developing and open-sourcing this operator! Maintaining Flink jobs with state on Kubernetes without it has been error prone. Quick question: I'd also like to use this operator for Flink jobs without a persistent state requirement. Is it possible to deploy a new version of a job without restoring from a savepoint when state doesn't matter?

hadronzoo avatar Jul 30 '19 20:07 hadronzoo

Hi,

Today, the operator only supports updates to an application by taking a savepoint. We will need to make some changes to the state machine in the operator to support updates without savepoint - something like SavepointInfo - Disabled.

Until we implement that, the only alternate option is to delete the application resource (with deleteMode set to None) and create a new one.

anandswaminathan avatar Jul 31 '19 00:07 anandswaminathan

Adding my +1 here. We have a number of medium-sized (6M+ records/sec) jobs that are stateless due to idempotency that we'd like to migrate over to FlinkK8sOperator. Cross-linking this issue from an internal backlog as we may help implement it ourselves out of need.

JonnyIncognito avatar Sep 27 '19 21:09 JonnyIncognito

Does https://github.com/lyft/flinkk8soperator/pull/184 solve this issue?

davidbirdsong avatar Apr 29 '20 22:04 davidbirdsong