Skip to content
Permalink
Browse files
Add topologySpreadConstraints parameter to be used in StatefulSet (#59)
Co-authored-by: Francisco Alberto <lemufen@gmail.com>
  • Loading branch information
fsalazarh and fsalazarh committed Jan 13, 2022
1 parent 024f2cd commit 9f10dadc3299381d106b2a3c011ada3ceb3e4fd6
Showing 6 changed files with 41 additions and 2 deletions.
@@ -1,6 +1,6 @@
apiVersion: v1
name: couchdb
version: 3.4.1
version: 3.5.0
appVersion: 3.2.0
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for
@@ -185,6 +185,7 @@ A variety of other parameters are also configurable. See the comments in the
| `persistentVolume.storageClass` | Default for the Kube cluster |
| `podManagementPolicy` | Parallel |
| `affinity` | |
| `topologySpreadConstraints` | |
| `annotations` | |
| `tolerations` | |
| `resources` | |
@@ -164,6 +164,10 @@ spec:
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{ toYaml . | indent 8 }}
{{- end }}
volumes:
- name: config-storage
@@ -95,6 +95,17 @@ affinity: {}
# - couchdb
# topologyKey: "kubernetes.io/hostname"

## To control how Pods are spread across your cluster among failure-domains such as regions,
## zones, nodes, and other user-defined topology domains use topologySpreadConstraints.
topologySpreadConstraints: {}
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: "topology.kubernetes.io/zone"
# whenUnsatisfiable: ScheduleAnyway
# labelSelector:
# matchLabels:
# app: couchdb

## Optional pod annotations
annotations: {}

Binary file not shown.
@@ -1,6 +1,29 @@
apiVersion: v1
entries:
couchdb:
- apiVersion: v1
appVersion: 3.2.0
created: "2022-01-10T07:49:23.501939784-03:00"
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for reliability.
digest: ea79c63e56c3c7d9f4b185bba5c5e89402de62b31dd61b928d9666b0466179a7
home: https://couchdb.apache.org/
icon: http://couchdb.apache.org/CouchDB-visual-identity/logo/CouchDB-couch-symbol.svg
keywords:
- couchdb
- database
- nosql
maintainers:
- email: kocolosk@apache.org
name: kocolosk
- email: willholley@apache.org
name: willholley
name: couchdb
sources:
- https://github.com/apache/couchdb-docker
urls:
- https://apache.github.io/couchdb-helm/couchdb-3.5.0.tgz
version: 3.5.0
- apiVersion: v1
appVersion: 3.2.0
created: "2022-01-07T09:59:37.621788-05:00"
@@ -323,4 +346,4 @@ entries:
urls:
- https://apache.github.io/couchdb-helm/couchdb-2.2.0.tgz
version: 2.2.0
generated: "2022-01-07T09:59:37.620754-05:00"
generated: "2022-01-10T07:49:23.499066257-03:00"

0 comments on commit 9f10dad

Please sign in to comment.