Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-4294

Allow the config-policy-controller QPS to be configurable

XMLWordPrintable

    • GRC Sprint 2023-05, GRC Sprint 2023-06
    • No

      Value Statement

      As a heavy user of Configuration Policies, I would like the Configuration Policy controller's allowed Kubernetes API queries per second (QPS) to scale with the number of evaluation concurrency I set.

      Right now, the controller is only has a default QPS of 5. This should be at least 15 per evaluation goroutine, which is set by the evaluation concurrency setting. The value 15 should be configurable by setting the `policy-qps` annotation on the ManagedClusterAddOn object similar to evaluation-concurrency.

      Definition of Done for Engineering Story Owner (Checklist)

      • The config-policy-controller QPS default is changed to 15 * evaluation concurrency.
      • The config-policy-controller QPS is configurable per cluster.

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [x] Unit/function tests have been automated and incorporated into the
        build.
      • [x] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [x] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      Support Readiness

      • [x] The must-gather script has been updated.

              jkulikau@redhat.com Justin Kulikauskas
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: