Details
-
Improvement
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
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.
Description for release notes:
Known Issue: Pod volumes are deleted when pods are deleted. This means that important debugging information may not be available after a failure.
Workaround: None