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:
parent
304c75403e
commit
573eb9cf13
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue