Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-504

Persistent Volume Janitor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: operator

      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

          Activity

          Hide
          mikew Mike Wiederhold [X] (Inactive) added a comment -

          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

          Show
          mikew Mike Wiederhold [X] (Inactive) added a comment - 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

            People

            Assignee:
            simon.murray Simon Murray
            Reporter:
            tommie Tommie McAfee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty