You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
clickhouse: keeper PVC is not deleted after the CR is removed #3057
Root cause: The keeper PVC backs a ClickHouseKeeperInstallation (packages/apps/clickhouse/templates/chkeeper.yaml:65-72, volumeClaimTemplates), reconciled by the clickhouse-keeper-operator. The operator does not delete data PVCs when the CHK CR is removed (data-safety default), and the CRD exposes no persistentVolumeClaimRetentionPolicy equivalent. (The main ClickHouse data PVCs have the same gap.)
Proposed fix: Add a post-delete PVC cleanup hook packages/apps/clickhouse/templates/hooks/cleanup-pvc.yaml, modeled on the MariaDB hook, selecting PVCs by app={{ .Release.Name }}-keeper (chkeeper.yaml:42) and app.kubernetes.io/instance={{ .Release.Name }}.
Found during a create→delete leak sweep of all 22 apps on Cozystack v1.4.0-rc.2.
Activity
fix(clickhouse)!: clean up orphaned keeper and data PVCs on delete (#…
fix(clickhouse)!: clean up orphaned keeper and data PVCs on delete (#…
fix(clickhouse): surface cleanup hook failures and backfill legacy ke…
fix(clickhouse)!: clean up orphaned keeper and data PVCs on delete (#…
fix(clickhouse): surface cleanup hook failures and backfill legacy ke…
fix(clickhouse)!: clean up orphaned keeper and data PVCs on delete (#…
fix(clickhouse): surface cleanup hook failures and backfill legacy ke…
fix(clickhouse)!: clean up orphaned keeper and data PVCs on delete (#…