This repo automate the couchdb nodes by tagging them with the zone attribute pulled from kubernetes cluster.
Table of Contents
.
├── src # Principal Code
│ ├── couch # Couchdb Functions
│ ├── k8s # Kubernetes Functions
│ ├── envs.py # Environment Variables
│ ├── scripts.py # Placement tagging Script
├── Dockerfile # To build this image
├── main.py # Main file
Initialization Script for tagging couchdb cluster nodes with placement attribute in order to achieve HA across AZ (Availability Zones).
To achieve placement a database on specific nodes and configure cluster for HA.