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

Verify volumes are actually expanding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.1
    • None
    • operator
    • None
    • 2 - Uncle Kracken, 3 - Krack the whip, 4 - Operation Krack-down, 5 - Kraken Bug Fixes/Docs
    • 1

    Description

      If possible, we need to check that Volumes are actually being resized before marking them as 'expanding'.   Otherwise the operator will continually attempt to upgrade the associated Pod (which is yet another unexpected side effect).  

       

      Given this occurred with Local Volumes where expansion isn't even possible we might need to add a param to disable resizing.

       

      from pod_util.go:

      // Even when the annotations of existingSpec and required spec are the same,
      // it is possible that the requested storage capacity is not yet applied either
      // due to expansion being in progress, or user manually changing pvc request.
      actualSize := pvc.Status.Capacity[v1.ResourceStorage]
      requestedSize := pvc.Spec.Resources.Requests[v1.ResourceStorage]

       

      Attachments

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

        Activity

          People

            tommie Tommie McAfee (Inactive)
            tommie Tommie McAfee (Inactive)
            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