Skip to content

Commit 443c37c

Browse files
feat: bump evernt-reporter to 88898aa (#676)
* [cf-argocd-extras]feat: optimize app-reporter to use workqueue and goroutines * added config values for threadiness, otlp-address, app-queue-size and max-app-replicas * removed env vars for rate limiting --------- Co-authored-by: codefresh-v2-pipelines[bot] <109073600+codefresh-v2-pipelines[bot]@users.noreply.github.com> Co-authored-by: Noam Gal <[email protected]>
1 parent 6141abf commit 443c37c

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

charts/gitops-runtime/templates/_components/cf-argocd-extras/_default-values.tpl

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ eventReporter:
3333
controller:
3434
enabled: true
3535
type: statefulset
36-
replicas: 3
36+
replicas: 1
3737
revisionHistoryLimit: 5
3838

3939
container:
@@ -62,6 +62,11 @@ eventReporter:
6262
HTTP_PROXY: '{{ .Values.global.httpProxy }}'
6363
HTTPS_PROXY: '{{ .Values.global.httpsProxy }}'
6464
NO_PROXY: '{{ .Values.global.noProxy }}'
65+
APP_QUEUE_SIZE:
66+
valueFrom:
67+
configMapKeyRef:
68+
name: event-reporter-cmd-params-cm
69+
key: app.queue.size
6570
ARGOCD_APPLICATION_NAMESPACES:
6671
valueFrom:
6772
configMapKeyRef:
@@ -99,7 +104,7 @@ eventReporter:
99104
configMapKeyRef:
100105
key: base-url
101106
name: codefresh-cm
102-
EVENT_REPORTER_REPLICAS: 3
107+
EVENT_REPORTER_REPLICAS: 1
103108
INSECURE:
104109
valueFrom:
105110
configMapKeyRef:
@@ -124,36 +129,22 @@ eventReporter:
124129
name: event-reporter-cmd-params-cm
125130
key: log.level
126131
optional: true
127-
METRICS_LISTEN_ADDRESS:
128-
valueFrom:
129-
configMapKeyRef:
130-
name: event-reporter-cmd-params-cm
131-
key: metrics.listen.address
132-
optional: true
133-
RATE_LIMITER_BUCKET_SIZE:
134-
valueFrom:
135-
configMapKeyRef:
136-
name: event-reporter-cmd-params-cm
137-
key: rate.limiter.bucket.size
138-
optional: true
139-
RATE_LIMITER_DURATION:
132+
MAX_APP_RETRIES:
140133
valueFrom:
141134
configMapKeyRef:
142135
name: event-reporter-cmd-params-cm
143-
key: rate.limiter.duration
144-
optional: true
145-
RATE_LIMITER_ENABLED:
136+
key: max.app.retries
137+
METRICS_LISTEN_ADDRESS:
146138
valueFrom:
147139
configMapKeyRef:
148140
name: event-reporter-cmd-params-cm
149-
key: rate.limiter.enabled
141+
key: metrics.listen.address
150142
optional: true
151-
RATE_LIMITER_LEARNING_MODE_ENABLED:
143+
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:
152144
valueFrom:
153145
configMapKeyRef:
154146
name: event-reporter-cmd-params-cm
155-
key: rate.limiter.learning.mode.enabled
156-
optional: true
147+
key: otlp.address
157148
REDISDB:
158149
valueFrom:
159150
configMapKeyRef:
@@ -221,6 +212,11 @@ eventReporter:
221212
configMapKeyRef:
222213
name: event-reporter-cmd-params-cm
223214
key: sources.server
215+
THREADINESS:
216+
valueFrom:
217+
configMapKeyRef:
218+
name: event-reporter-cmd-params-cm
219+
key: threadiness
224220

225221
volumeMounts:
226222
codefresh-tls-certs:
@@ -258,9 +254,13 @@ eventReporter:
258254
cmd-params-cm:
259255
enabled: true
260256
data:
257+
app.queue.size: '1000'
261258
argocd.server: argo-cd-server:80
259+
max.app.retries: '5'
260+
otlp.address: ''
262261
repo.server: argo-cd-repo-server:8081
263262
sources.server: http://sources-server
263+
threadiness: '100'
264264

265265
volumes:
266266
codefresh-tls-certs:

charts/gitops-runtime/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ cf-argocd-extras:
761761
image:
762762
registry: quay.io
763763
repository: codefresh/cf-argocd-extras
764-
tag: v0.5.14
764+
tag: 88898aa
765765
nodeSelector: {}
766766
tolerations: []
767767
affinity: {}
@@ -785,7 +785,7 @@ cf-argocd-extras:
785785
image:
786786
registry: quay.io
787787
repository: codefresh/cf-argocd-extras
788-
tag: v0.5.14
788+
tag: 88898aa
789789
nodeSelector: {}
790790
tolerations: []
791791
affinity: {}

0 commit comments

Comments
 (0)