Skip to content

Commit

Permalink
feat(argo-events): add support for resource requests/limits (#761)
Browse files Browse the repository at this point in the history
* feat(argo-events): add support for resource requests/limits

Signed-off-by: Chris St. Pierre <chris.a.st.pierre@gmail.com>

* Fix `resources` scope

Signed-off-by: Chris St. Pierre <chris.a.st.pierre@gmail.com>

* Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
  • Loading branch information
Chris St. Pierre and mkilchhofer authored May 26, 2021
1 parent f606984 commit 6acfdc6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/argo-events/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart to install Argo-Events in k8s Cluster
name: argo-events
version: 1.4.2
version: 1.4.3
keywords:
- argo-events
- sensor-controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.eventbusController.resources | nindent 12 }}
{{- with .Values.eventbusController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.eventsourceController.resources | nindent 12 }}
{{- with .Values.eventsourceController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.sensorController.resources | nindent 12 }}
{{- with .Values.sensorController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/argo-events/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ sensorController:
priorityClassName: ""
tolerations: []
affinity: {}
resources: {}

eventsourceController:
name: eventsource-controller
Expand All @@ -67,6 +68,7 @@ eventsourceController:
priorityClassName: ""
tolerations: []
affinity: {}
resources: {}

eventbusController:
name: eventbus-controller
Expand All @@ -79,6 +81,7 @@ eventbusController:
priorityClassName: ""
tolerations: []
affinity: {}
resources: {}
natsStreamingImage: nats-streaming:0.17.0
natsMetricsExporterImage: synadia/prometheus-nats-exporter:0.6.2

Expand Down

0 comments on commit 6acfdc6

Please sign in to comment.