https://github.com/kocolosk/couchdb-statefulset-assembler
Helper to automatically join members of a StatefulSet into a CouchDB cluster
https://github.com/kocolosk/couchdb-statefulset-assembler
couchdb kubernetes statefulset
Last synced: 4 months ago
JSON representation
Helper to automatically join members of a StatefulSet into a CouchDB cluster
- Host: GitHub
- URL: https://github.com/kocolosk/couchdb-statefulset-assembler
- Owner: kocolosk
- License: apache-2.0
- Created: 2017-11-21T01:25:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T18:51:28.000Z (almost 7 years ago)
- Last Synced: 2025-06-16T06:05:39.017Z (about 1 year ago)
- Topics: couchdb, kubernetes, statefulset
- Language: Python
- Size: 17.6 KB
- Stars: 10
- Watchers: 0
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CouchDB StatefulSet Assembler
This code is intended to be deployed as a sidecar container in a Pod alongside
the [semi-official CouchDB Docker
image](https://hub.docker.com/r/apache/couchdb/) when running CouchDB as a
Kubernetes StatefulSet. It will resolve the DNS records maintained by Kubernetes
to discover the other peers in the cluster, then automatically populate the
Pod's _nodes DB with the names of the other nodes. The end result is that the
cluster is automically joined up.
If the deployment is scaled *up* after the initial creation those new Pods will
be automatically added. Scaling *down* does not automatically remove the Pods
from the membership database at this time.