feat(argo): add PriorityClass support (#470)

This commit is contained in:
Daniel Megyesi 2020-10-14 00:48:07 +02:00 committed by GitHub
parent 9ed4650b9f
commit 209b7798d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v2.11.3 appVersion: v2.11.3
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
name: argo name: argo
version: 0.13.0 version: 0.13.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:

View file

@ -91,5 +91,8 @@ spec:
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.server.priorityClassName }}
priorityClassName: {{ .Values.server.priorityClassName }}
{{- end }}
{{- end -}} {{- end -}}

View file

@ -83,3 +83,6 @@ spec:
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.controller.priorityClassName }}
priorityClassName: {{ .Values.controller.priorityClassName }}
{{- end }}

View file

@ -125,6 +125,10 @@ controller:
kubernetes.io/os: linux kubernetes.io/os: linux
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Leverage a PriorityClass to ensure your pods survive resource shortages
# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# PriorityClass: system-cluster-critical
priorityClassName: ""
# executor controls how the init and wait container should be customized # executor controls how the init and wait container should be customized
executor: executor:
@ -185,6 +189,10 @@ server:
kubernetes.io/os: linux kubernetes.io/os: linux
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Leverage a PriorityClass to ensure your pods survive resource shortages
# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# PriorityClass: system-cluster-critical
priorityClassName: ""
# Extra arguments to provide to the Argo server binary. # Extra arguments to provide to the Argo server binary.
extraArgs: [] extraArgs: []