kocolosk/couchdb-statefulset-assembler


Helper to automatically join members of a StatefulSet into a CouchDB cluster

License: Apache-2.0

Language: Python

Keywords: couchdb, kubernetes, statefulset


CouchDB StatefulSet Assembler

This code is intended to be deployed as a sidecar container in a Pod alongside the semi-official CouchDB Docker image 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.

Project Statistics

Sourcerank 3
Repository Size 13.7 KB
Stars 1
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 2
Created
Last updated
Last pushed

Top Contributors See all

Adam Kocoloski

Recent Tags See all

1.1.0 December 07, 2017
1.0.0 November 21, 2017

Something wrong with this page? Make a suggestion

Last synced: 2018-02-15 16:38:52 UTC

Login to resync this repository