What is the preferred way to tell the operator to ...
# troubleshooting
r
What is the preferred way to tell the operator to only retain a given number of previous checkpoints (e.g. only keep the last 10)? Or is this behavior / configuration supported? I’m seeing quite a few different configuration properties related to this, just wanted to try to confirm what the most appropriate would be?
p
You can do that for both checkpointing and savepoints. Savepoints:
Copy code
kubernetes.operator.periodic.savepoint.interval: X
    kubernetes.operator.savepoint.history.max.age: X
    kubernetes.operator.savepoint.history.max.count: X
    kubernetes.operator.job.savepoint-on-deletion: "true"
Checkpoints:
Copy code
execution.checkpointing.num-retained: