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

Autoscaling is susceptible to conflicting requests

    XMLWordPrintable

Details

    • 45: Portworks, docs, cleanup
    • 2

    Description

      Our custom autoscaler resources expose scale subresource. Under normal operation, only the HorizontalPodAutoscaler changes the scale values. However the value can be changed via 'kubectl scale' or 'kubectl edit'. And these changes can occur while couchbase is currently scaling to reach desired goals of HPA.

      The result of this is that auto-scaling becomes non-deterministic in some scenarios.

      When the conflicts are coming from multiple HPAs then we can simple configure HPA behavior with backoffs.

      However, when conflicts are coming from non-HPA sources then the operator itself needs some kind of backoff and revert behavior.

      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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty