afedulov opened a new pull request, #656:
URL: https://github.com/apache/flink-kubernetes-operator/pull/656
## What is the purpose of the change
Current functionality to trigger savepoints and checkpoints is based on
specifying a fixed interval. This approach gives little control to prevent
potentially overlapping snapshots running simultaneously in adjacent
deployments and can cause issues for high scale, large state jobs. Moreover,
lastTrigger information is not retained across deployment restarts which leads
to immediate firing based on creation time. In order to have better control
over the exact schedule, triggering based on cron expressions should be added.
## Brief change log
- Adds cron expression config options for checkpoint and savepoint
triggering
- Extends SnapshotUtils logic to process both interval- and cron-based
triggers
## Verifying this change
- Added unit and integration tests
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
(yes / **no**)
- Core observer or reconciler logic that is regularly executed: (**yes** /
no)
## Documentation
- Does this pull request introduce a new feature? (**yes** / no)
- If yes, how is the feature documented? generated config docs
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]