Skip to content

Conversation

@pgvishnuram
Copy link
Contributor

Issue Description

Currently when a user provisions an airflow deployment using helm with celery executor on kubernetes, redis statefulset is spinned up provisioned with a storage sized to 1gb by default. when a user tries to switch the executor type to kubernetes and triggers a upgrade through helm components matching the executor type will either gets removed or updated.

The core problem here redis pvc is still present in the same namespace due to the default behaviour of how the persistentVolumeClaimRetentionPolicy is set to retain by default.

What this PR does

This PR adds configurable persistentVolumeClaimRetentionPolicy into redis statefulset allows the user to decide either to delete the pvc provisioned by the redis statefulset or to retain them upon deletion

Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Looks good to me and makes sense to define this attribute!

@jscheffl jscheffl merged commit ed17399 into apache:main Dec 31, 2025
175 of 176 checks passed
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants