You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ansible: rename cmd line flag and add global variable (#3435)
This commit: * Deprecates --max-workers flag * Adds --max-concurrent-reconciles flag * Adds MAX_CONCURRENT_RECONCILES_<group>_<kind> global variable * Update relevant documentation
"Path to installed Ansible Collections. If set, collections should be located in {{value}}/ansible_collections/. If unset, collections are assumed to be in ~/.ansible/collections or /usr/share/ansible/collections.",
Copy file name to clipboardExpand all lines: website/content/en/docs/ansible/reference/advanced_options.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,14 @@ If you have created resources without owner reference injection, it is
29
29
possible to manually to update resources following [this
30
30
guide.](../retroactively-owned-resources)
31
31
32
-
## Max Workers
32
+
## Max Concurrent Reconciles
33
33
34
-
Increasing the number of workers allows events to be processed
34
+
Increasing the number of concurrent reconciles allows events to be processed
35
35
concurrently, which can improve reconciliation performance.
36
36
37
-
Worker maximums can be set in two ways. Operator **authors and admins**
38
-
can set the max workers default by including extra args to the operator
39
-
container in `deploy/operator.yaml`. (Otherwise, the default is 1 worker.)
37
+
The maximum number of concurrent reconciles can be set in two ways. Operator **authors and admins**
38
+
can set the max concurrent reconciles default by including extra args to the operator
39
+
container in `deploy/operator.yaml`. (Otherwise, the default is the maximum number of logical CPUs available for the process obtained using `runtime.NumCPU()`.)
40
40
41
41
**NOTE:** Admins using OLM should use the environment variable instead
Previously, the naming convention for global variable was `WORKERS_%s_%s`. It has been updated to `MAX_CONCURRENT_RECONCILES_%s_%s`. Currently, though we accept inputs to both the variables, `MAX_CONCURRENT_RECONCILES_%s_%s` takes precedence over the formerly used one.
0 commit comments