Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit 3e14b1f

Browse files
authored
NE-16615 mgmtworker: separate workers/operation_worker counts (cloudify-cosmo#149)
Separate the counts of "workers" for workflows/operations
1 parent 605a091 commit 3e14b1f

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

cloudify-services/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ $ helm uninstall cloudify-services -n NAMESPACE
174174
| mgmtworker.access.local_cluster | bool | `true` | |
175175
| mgmtworker.image | string | `"263721492972.dkr.ecr.eu-west-1.amazonaws.com/cloudify-manager-mgmtworker:latest-x86_64"` | |
176176
| mgmtworker.imagePullPolicy | string | `"IfNotPresent"` | |
177-
| mgmtworker.max_workers | int | `10` | The Mgmtworker's MAX_WORKER settings, controlling the amount of concurrent operations that can be run |
177+
| mgmtworker.max_operation_workers | int | `20` | The Mgmtworker's MAX_OPERATION_WORKERS setting, controlling the amount of concurrent operations This should be larger than max_workers, otherwise deadlocks are possible when using Components |
178+
| mgmtworker.max_workers | int | `10` | The Mgmtworker's MAX_WORKER setting, controlling the amount of concurrent workflows that can be run |
178179
| mgmtworker.replicas | int | `1` | |
179180
| nameOverride | string | `""` | |
180181
| nginx.http_port | int | `80` | |
@@ -269,6 +270,7 @@ $ helm uninstall cloudify-services -n NAMESPACE
269270
| serviceAccount.name | string | `""` | |
270271
| stage_backend.image | string | `"263721492972.dkr.ecr.eu-west-1.amazonaws.com/cloudify-manager-stage-backend:latest-x86_64"` | |
271272
| stage_backend.imagePullPolicy | string | `"IfNotPresent"` | |
273+
| stage_backend.mapsAccessToken | string | `nil` | |
272274
| stage_backend.port | int | `8088` | |
273275
| stage_backend.probes.liveness.enabled | bool | `true` | |
274276
| stage_backend.probes.liveness.failureThreshold | int | `3` | |

cloudify-services/templates/mgmtworker.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ spec:
101101
value: "k8s"
102102
- name: MAX_WORKERS
103103
value: {{ .Values.mgmtworker.max_workers | quote }}
104+
- name: MAX_OPERATION_WORKERS
105+
value: {{ .Values.mgmtworker.max_operation_workers | quote }}
104106
envFrom:
105107
- configMapRef:
106108
name: mgmtworker-envvars

cloudify-services/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@ mgmtworker:
8181
replicas: 1
8282
image: 263721492972.dkr.ecr.eu-west-1.amazonaws.com/cloudify-manager-mgmtworker:latest-x86_64
8383
imagePullPolicy: IfNotPresent
84-
# -- The Mgmtworker's MAX_WORKER settings, controlling the amount of concurrent operations that can be run
84+
# -- The Mgmtworker's MAX_WORKER setting, controlling the amount of concurrent workflows that can be run
8585
max_workers: 10
86+
# -- The Mgmtworker's MAX_OPERATION_WORKERS setting, controlling the amount of concurrent operations
87+
# This should be larger than max_workers, otherwise deadlocks are possible when using Components
88+
max_operation_workers: 20
8689
access:
8790
local_cluster: true
8891

0 commit comments

Comments
 (0)