diff --git a/incubator/couchdb/Chart.yaml b/incubator/couchdb/Chart.yaml index 8dba09aac5d1..7187e23ef0b5 100644 --- a/incubator/couchdb/Chart.yaml +++ b/incubator/couchdb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: couchdb -version: 1.2.0 +version: 1.2.1 appVersion: 2.3.1 description: A database featuring seamless multi-master sync, that scales from big data to mobile, with an intuitive HTTP/JSON API and designed for diff --git a/incubator/couchdb/README.md b/incubator/couchdb/README.md index 91a38365a57b..0bf9444ff50c 100644 --- a/incubator/couchdb/README.md +++ b/incubator/couchdb/README.md @@ -95,6 +95,7 @@ CouchDB chart and their default values: | `couchdbConfig` | Map allowing override elements of server .ini config | chttpd.bind_address=any | | `allowAdminParty` | If enabled, start cluster without admin account | false (requires creating a Secret) | | `createAdminSecret` | If enabled, create an admin account and cookie secret | true | +| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` | | `erlangFlags` | Map of flags supplied to the underlying Erlang VM | name: couchdb, setcookie: monster | `persistentVolume.enabled` | Boolean determining whether to attach a PV to each node | false | `persistentVolume.size` | If enabled, the size of the persistent volume to attach | 10Gi diff --git a/incubator/couchdb/templates/statefulset.yaml b/incubator/couchdb/templates/statefulset.yaml index 9a0a29502c3b..ba9376477560 100644 --- a/incubator/couchdb/templates/statefulset.yaml +++ b/incubator/couchdb/templates/statefulset.yaml @@ -21,6 +21,9 @@ spec: app: {{ template "couchdb.name" . }} release: {{ .Release.Name }} spec: + {{- if .Values.schedulerName }} + schedulerName: "{{ .Values.schedulerName }}" + {{- end }} initContainers: - name: init-copy image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}" diff --git a/incubator/couchdb/values.yaml b/incubator/couchdb/values.yaml index ceaa08e6bea9..605f622f70cc 100644 --- a/incubator/couchdb/values.yaml +++ b/incubator/couchdb/values.yaml @@ -25,6 +25,11 @@ adminUsername: admin # adminPassword: this_is_not_secure # cookieAuthSecret: neither_is_this +## Use an alternate scheduler, e.g. "stork". +## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ +## +# schedulerName: + ## The storage volume used by each Pod in the StatefulSet. If a ## persistentVolume is not enabled, the Pods will use `emptyDir` ephemeral ## local storage. Setting the storageClass attribute to "-" disables dynamic