adding priority class support for argo-server and workflow-controller deployments
This commit is contained in:
parent
bc78e3cbe1
commit
fa90940efa
3 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,8 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.server.podAnnotations | indent 8}}{{- end }}
|
{{ toYaml .Values.server.podAnnotations | indent 8}}{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.server.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.server.priorityClassName | quote }}
|
||||||
serviceAccountName: {{ .Values.server.serviceAccount | quote }}
|
serviceAccountName: {{ .Values.server.serviceAccount | quote }}
|
||||||
containers:
|
containers:
|
||||||
- name: argo-server
|
- name: argo-server
|
||||||
|
|
|
@ -25,6 +25,8 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.controller.podAnnotations | indent 8}}{{- end }}
|
{{ toYaml .Values.controller.podAnnotations | indent 8}}{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.controller.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.controller.priorityClassName | quote }}
|
||||||
serviceAccountName: {{ .Values.controller.serviceAccount | quote }}
|
serviceAccountName: {{ .Values.controller.serviceAccount | quote }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
|
|
|
@ -108,6 +108,8 @@ controller:
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
## Replace system_priority_class with your priorityClassName. See https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||||
|
priorityClassName: system_priority_class
|
||||||
|
|
||||||
# executor controls how the init and wait container should be customized
|
# executor controls how the init and wait container should be customized
|
||||||
executor:
|
executor:
|
||||||
|
@ -218,6 +220,8 @@ server:
|
||||||
# key: client-secret
|
# key: client-secret
|
||||||
## The OIDC redirect URL. Should be in the form <argo-root-url>/oauth2/callback.
|
## The OIDC redirect URL. Should be in the form <argo-root-url>/oauth2/callback.
|
||||||
# redirectUrl: https://argo/oauth2/callback
|
# redirectUrl: https://argo/oauth2/callback
|
||||||
|
## Replace system_priority_class with your priorityClassName. See https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||||
|
priorityClassName: system_priority_class
|
||||||
|
|
||||||
# Influences the creation of the ConfigMap for the workflow-controller itself.
|
# Influences the creation of the ConfigMap for the workflow-controller itself.
|
||||||
useDefaultArtifactRepo: false
|
useDefaultArtifactRepo: false
|
||||||
|
|
Loading…
Reference in a new issue