Skip to content

HDDS-15289. Add persistentVolumeClaimRetentionPolicy to pod templates#10281

Merged
adoroszlai merged 1 commit into
apache:masterfrom
ptlrs:HDDS-15289-k8s-reclaim-policy
May 17, 2026
Merged

HDDS-15289. Add persistentVolumeClaimRetentionPolicy to pod templates#10281
adoroszlai merged 1 commit into
apache:masterfrom
ptlrs:HDDS-15289-k8s-reclaim-policy

Conversation

@ptlrs
Copy link
Copy Markdown
Contributor

@ptlrs ptlrs commented May 15, 2026

What changes were proposed in this pull request?

The CI upon running K8s tests gets blocked and timesout after 1 hour.
It is observed that this happens after PVC cleanup but before PV cleanup.

This PR

  1. Adds a timeout so that the CI is not stuck when cleaning up k8s resources
  2. Updates the PV retain policy to delete so that no k8s finalizers block the cleanup of PVs.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15289

How was this patch tested?

CI: https://github.com/ptlrs/ozone/actions/runs/25935306665

@adoroszlai adoroszlai marked this pull request as ready for review May 17, 2026 05:48
Copy link
Copy Markdown
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @ptlrs for the patch.

@adoroszlai adoroszlai merged commit 100dedd into apache:master May 17, 2026
32 checks passed
@ptlrs ptlrs deleted the HDDS-15289-k8s-reclaim-policy branch May 17, 2026 17:14
@ptlrs
Copy link
Copy Markdown
Contributor Author

ptlrs commented May 17, 2026

Thanks for the review @adoroszlai

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.

2 participants