Skip to content

Commit ca5447a

Browse files
fix: argocd queue processors and controller resource defaults (#1782)
Co-authored-by: jeho <[email protected]>
1 parent 9cc2b7e commit ca5447a

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

helmfile.d/snippets/defaults.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ environments:
1717
memory: 256Mi
1818
_rawValues: {}
1919
argocd:
20+
controllerStatusProcessors: 20
21+
controllerOperationProcessors: 10
2022
applicationSet:
2123
replicas: 1
2224
controller:
23-
replicas: 2
25+
replicas: 1
2426
autoscaling:
2527
repoServer:
2628
enabled: true
@@ -38,10 +40,10 @@ environments:
3840
controller:
3941
requests:
4042
cpu: 200m
41-
memory: 512Mi
43+
memory: 1Gi
4244
limits:
4345
cpu: "2"
44-
memory: 2Gi
46+
memory: 4Gi
4547
server:
4648
requests:
4749
cpu: 100m

values-schema.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,12 @@ properties:
15181518
properties:
15191519
_rawValues:
15201520
$ref: '#/definitions/rawValues'
1521+
controllerStatusProcessors:
1522+
default: 20
1523+
type: integer
1524+
controllerOperationProcessors:
1525+
default: 10
1526+
type: integer
15211527
applicationSet:
15221528
replicas:
15231529
default: 1

values/argocd/argocd.gotmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ configs:
127127
params:
128128
server.insecure: true # nginx terminates tls
129129
# -- Number of application status processors
130-
controller.status.processors: 10
130+
controller.status.processors: {{ $a.controllerStatusProcessors }}
131131
# -- Number of application operation processors
132-
controller.operation.processors: 5
132+
controller.operation.processors: {{ $a.controllerOperationProcessors }}
133133

134134
rbac:
135135
policy.csv: |

0 commit comments

Comments
 (0)