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

Persistent Volume Janitor

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.1.0
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          tommie Tommie McAfee created issue -
          simon.murray Simon Murray made changes -
          Field Original Value New Value
          Rank Ranked higher
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Fix Version/s 1.2.0 [ 15308 ]
          Fix Version/s 1.1.0 [ 15163 ]
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Issue Type Task [ 3 ] Improvement [ 4 ]
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Fix Version/s 1.1.0 [ 15163 ]
          Fix Version/s 1.2.0 [ 15308 ]
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Rank Ranked higher
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Assignee Tommie McAfee [ tommie ] Simon Murray [ simon.murray ]
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Labels kubernetes kubernetes releasenote
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          simon.murray Simon Murray made changes -
          Rank Ranked higher
          simon.murray Simon Murray made changes -
          Sprint Kubernetes 8/13-8/27 [ 549 ]
          simon.murray Simon Murray made changes -
          Rank Ranked higher
          simon.murray Simon Murray made changes -
          Rank Ranked lower
          simon.murray Simon Murray made changes -
          Summary Keep volumes after Pod deletion Persistent Volume Janitor
          mikew Mike Wiederhold [X] (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ingenthr Matt Ingenthron made changes -
          Sprint
          ingenthr Matt Ingenthron made changes -
          Rank Ranked higher

          People

            simon.murray Simon Murray
            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