Commit 024b958
authored
Set MaxConcurrentReconciles for VMIC and PolicyEvaluation controllers (#1427)
This PR sets the `MaxConcurrentReconciles` option when adding VMIC and PolicyEvaluation controllers to `ctx.MaxConcurrentReconciles` (20 with default VMOP configs). These resources are 1:1 mapping to VM so we need to enable concurrent reconciles to not block VM reconciliation.
If the option is not set, it defaults to 1 as per controller-runtime: https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/controller/controller.go#L48-L491 parent 09f7f04 commit 024b958
File tree
2 files changed
+4
-2
lines changed- controllers
- virtualmachineimagecache
- vspherepolicy/policyevaluation
2 files changed
+4
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments