mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 22:53:43 +09:00
The post-delete PVC cleanup Jobs of ClickHouse and OpenSearch keep only before-hook-creation, so a failed run stays for post-mortem. Helm drops the hook once the release is gone, and nothing else deletes the Job, so every deleted instance leaves a Completed <release>-cleanup Job and its pod in the tenant namespace for good; on the cluster the oldest had sat there for 85 days. Set ttlSecondsAfterFinished to a day, as pre-delete-unpin in kubernetes-nodes does, so a succeeded run is reaped and a failed one still keeps its logs long enough to read. Assisted-by: LLM Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>