Details
-
Improvement
-
Resolution: Fixed
-
Blocker
-
None
Description
Quoting Mike here on the need for this from a supportability perspective:
Upon reviewing our code I realized that we're deleting persistent volumes when we delete pods. This means that in some cases we're deleting logs that may contain valuable debugging information before users can get a chance to collect logs from them. Without also fixing this issue we wouldn't get much benefit from adding a persistent volume to the logs directory for clusters with ephemeral storage because the logs would likely get cleaned up after a failure anyways.
We can disable volume deletion by default and add a flag to enable it if user wants it.
Attachments
For Gerrit Dashboard: K8S-504 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
100124,15 | K8S-504: PVC Janitor Process | master | couchbase-operator | Status: MERGED | +2 | +1 |