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:
Ergin Babani
2017-11-25 16:13:16 +01:00
committed by Reinhard Nägele
parent 3d6d2e6efb
commit f8949cf7cb
4 changed files with 24 additions and 2 deletions
+2 -2
View File
@@ -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" . }}
+18
View File
@@ -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