-
Story
-
Resolution: Done
-
Undefined
-
None
-
2
-
False
-
-
False
-
-
-
GRC Sprint 2023-17
-
No
The config-policy-controller has configuration options for these kinds of things, and they are exposed in the policy-addon-controller.
- https://github.com/open-cluster-management-io/config-policy-controller/blob/main/main.go#L484
- https://github.com/open-cluster-management-io/governance-policy-addon-controller/blob/main/pkg/addon/configpolicy/agent_addon.go#L85
The policy-framework-addon does not currently have the same kinds of options. It just uses the defaults from controller-runtime for each of its controllers: only ever one reconcile at a time per controller, 20 QPS, 30 burst.
Changes would be required in the framework-addon, as well as in the policy-addon-controller. To adjust concurrency, an option needs to be passed to the manager, for example the gatekeeper-constraint controller is set to 5:
Users might want to configure this if they need more policies to be handled more quickly, for example if they have a lot of existing policies being sent to a new cluster, the current settings limit how quickly initial statuses can be returned to the hub.
- is documented by
-
ACM-7924 Configuration of evaluation concurrency, client QPS, and client burst on policy framework
-
- Closed
-