You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/06/01 05:30:03 UTC

[GitHub] [flink-kubernetes-operator] gyfora commented on pull request #249: [FLINK-26179] Support for periodic savepoints

gyfora commented on PR #249:
URL: https://github.com/apache/flink-kubernetes-operator/pull/249#issuecomment-1143133417

   @Sushant20 The operator intentionally doesn't support restoring from arbitrary savepoints "on-the-fly" to avoid confusion in terms of what savepoint will actually be used (last savepoint available / user specified). I think this is a confusing design the google operator because it's not clear what happens if the job is already running.
   
   What we support here:
   
   1. Delete the FlinkDeployment resource. This will stop the job and clean up all the resources.
   2. Set `FlinkDeployment.spec.job.initialSavepointPath` to your desired savepoint restore path
   3. Re-create FlinkDeployment re-source
   
   As the name suggests `initialSavepointPath` settings will only take effect when a given deployment is submitted for the first time. After that it is always the latest savepoint/checkpoint information to avoid any state loss.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org