mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add the ability to set toleration for the web and worker pods (#2729)
* Add the ability to set toleration for the web and worker pods * Version bump for setting tolerations. * Update Chart.yaml
This commit is contained in:
committed by
Reinhard Nägele
parent
3d6d2e6efb
commit
f8949cf7cb
@@ -1,6 +1,6 @@
|
||||
name: concourse
|
||||
version: 0.8.2
|
||||
appVersion: 3.5.0
|
||||
version: 0.9.0
|
||||
appVersion: 3.6.0
|
||||
description: Concourse is a simple and scalable CI system.
|
||||
icon: https://avatars1.githubusercontent.com/u/7809479
|
||||
keywords:
|
||||
|
||||
@@ -14,6 +14,8 @@ spec:
|
||||
labels:
|
||||
app: {{ template "concourse.web.fullname" . }}
|
||||
spec:
|
||||
tolerations:
|
||||
{{ toYaml .Values.web.tolerations | indent 8 }}
|
||||
containers:
|
||||
- name: {{ template "concourse.web.fullname" . }}
|
||||
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
|
||||
|
||||
@@ -20,6 +20,8 @@ spec:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
tolerations:
|
||||
{{ toYaml .Values.worker.tolerations | indent 8 }}
|
||||
terminationGracePeriodSeconds: {{ .Values.worker.terminationGracePeriodSeconds }}
|
||||
containers:
|
||||
- name: {{ template "concourse.worker.fullname" . }}
|
||||
|
||||
@@ -302,6 +302,15 @@ web:
|
||||
# values:
|
||||
# - "true"
|
||||
|
||||
## Tolerations for the worker nodes.
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
tolerations: []
|
||||
# tolerations:
|
||||
# - key: "toleration=key"
|
||||
# operator: "Equal"
|
||||
# value: "value"
|
||||
# effect: "NoSchedule"
|
||||
|
||||
## Configure resource requests and limits.
|
||||
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -413,6 +422,15 @@ worker:
|
||||
# values:
|
||||
# - "true"
|
||||
|
||||
## Tolerations for the worker nodes.
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
tolerations: []
|
||||
# tolerations:
|
||||
# - key: "toleration=key"
|
||||
# operator: "Equal"
|
||||
# value: "value"
|
||||
# effect: "NoSchedule"
|
||||
|
||||
## Time to delay after the worker process shuts down. This inserts time between shutdown and startup
|
||||
## to avoid errors caused by a worker restart.
|
||||
postStopDelaySeconds: 60
|
||||
|
||||
Reference in New Issue
Block a user