1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

increase worker count for policyController

This commit is contained in:
Jim Bugwadia 2020-05-17 14:48:17 -07:00
parent 304c75403e
commit 573eb9cf13

View file

@ -175,7 +175,7 @@ func main() {
// - reconciliation policy and policy violation
// - process policy on existing resources
// - status aggregator: receives stats when a policy is applied & updates the policy status
pc, err := policy.NewPolicyController(pclient,
policyCtrl, err := policy.NewPolicyController(pclient,
client,
pInformer.Kyverno().V1().ClusterPolicies(),
pInformer.Kyverno().V1().ClusterPolicyViolations(),
@ -286,7 +286,7 @@ func main() {
go rWebhookWatcher.Run(stopCh)
go configData.Run(stopCh)
go policyMetaStore.Run(stopCh)
go pc.Run(1, stopCh)
go policyCtrl.Run(3, stopCh)
go egen.Run(1, stopCh)
go grc.Run(1, stopCh)
go grcc.Run(1, stopCh)