[stable/concourse] Add "worker.podManagementPolicy" (#2983)

* [stable/concourse] Add "worker.podManagementPolicy"

* Switched workers.podManagementPolicy to default to "Parallel" which is more useful for Concourse workers.

* Removed `default "Parallel"` as this is included in the Values file, as per https://github.com/kubernetes/charts/pull/2983#discussion_r157244521

* Removed conditional that required k8s 1.7+ -- https://github.com/kubernetes/charts/pull/2983#discussion_r157244764

* removed extraneous blank line
This commit is contained in:
matthope
2017-12-16 02:34:36 -08:00
committed by k8s-ci-robot
parent 827b6faf99
commit 77b6b6f6a7
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 0.10.2
version: 0.10.3
appVersion: 3.6.0
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
+1
View File
@@ -128,6 +128,7 @@ The following tables lists the configurable parameters of the Concourse chart an
| `worker.terminationGracePeriodSeconds` | Upper bound for graceful shutdown, including `worker.postStopDelaySeconds` | `120` |
| `worker.fatalErrors` | Newline delimited strings which, when logged, should trigger a restart of the worker | *See [values.yaml](values.yaml)* |
| `worker.updateStrategy` | `OnDelete` or `RollingUpdate` (requires Kubernetes >= 1.7) | `RollingUpdate` |
| `worker.podManagementPolicy` | `OrderedReady` or `Parallel` (requires Kubernetes >= 1.7) | `Parallel` |
| `persistence.enabled` | Enable Concourse persistence using Persistent Volume Claims | `true` |
| `persistence.worker.class` | Concourse Worker Persistent Volume Storage Class | `generic` |
| `persistence.worker.accessMode` | Concourse Worker Persistent Volume Access Mode | `ReadWriteOnce` |
@@ -163,3 +163,4 @@ spec:
updateStrategy:
type: {{ .Values.worker.updateStrategy }}
{{- end }}
podManagementPolicy: {{ .Values.worker.podManagementPolicy }}
+7
View File
@@ -461,6 +461,13 @@ worker:
##
updateStrategy: RollingUpdate
## Pod Management strategy (requires Kubernetes 1.7+)
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
##
## "OrderedReady" is default. "Parallel" means worker pods will launch or terminate
## in parallel.
podManagementPolicy: Parallel
## Persistent Volume Storage configuration.
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
##