Skip to content

Conversation

@snprajwal
Copy link
Member

@snprajwal snprajwal commented Mar 18, 2025

This supersedes #6 while setting the defaults to 100Gi instead of 1Ei, and has been rebased against the current main branch.

- Introduced global, container, pod, and namespace-level
  policies for checkpoint retention, based on storage/size limits.
- Updated CRD definitions to store the storage/size based policies.
- Updated the sample configuration of CheckpointRestoreOperator with
  storage/checkpoint-size based policies

Signed-off-by: Parthiba-Hazra <parthibahazra@gmail.com>
- Enhance generate_checkpoint_tar.sh to optionally
  generate tar files larger than 5MB
- Update GitHub Actions workflow to test storage quota
  garbage collection policies

Signed-off-by: Parthiba-Hazra <parthibahazra@gmail.com>
Signed-off-by: Parthiba-Hazra <parthibahazra@gmail.com>
…ntions

- Updated size policies from int-based values to resource.Quantity
  for consistency with Kubernetes resource limits.
- Enabled the use of units such as Ki, Mi, Gi for max checkpoint
  size and total size policies.

Signed-off-by: Parthiba-Hazra <parthibahazra@gmail.com>
Copy link
Member

@rst0git rst0git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rst0git rst0git merged commit 684e43d into checkpoint-restore:main May 8, 2025
6 checks passed
@snprajwal snprajwal deleted the storage-quota branch May 26, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants