Hi, We are using kubernetes operator for deployment, and we want to restore from the savepoint on new deployment(recreates the deployment). we are using custom sources and snapshoting the state, the checkpoints and savepoints are getting created in s3, but for restore we tried by using upgradeMode as "savepoint" but its not working. Using flink1.16.0.
g
Gyula Fóra
05/05/2023, 5:49 AM
For the initial startup the upgrade mode doesn't matter. Did you provide the initialSavepointPath parameter?
Gyula Fóra
05/05/2023, 5:49 AM
This setting is exactly for this and affects only the initial startup
v
Viswa Teja Kuncham
05/05/2023, 5:52 AM
ok, Thanks. Do we have any way to automate this, on regular builds, we are using argo and recreating the deployment on new build
Viswa Teja Kuncham
05/05/2023, 6:00 AM
everytime we create a new build, we are recreating the deployment and a new job is getting created with new jobId, we want to restore from the old savepoint before the build. Build process is automated, we want to know if any way to restore from old savepoint instead of giving it manually.
g
Gyula Fóra
05/05/2023, 7:57 AM
You need a way to find the old savepoint. Either extract it from the status of the old deployment or find it on durable storage.