Skip to content

caligrafix/couchdb-autoscaler-placement-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CouchDB Cluster Placement Manager

This repo automate the couchdb nodes by tagging them with the zone attribute pulled from kubernetes cluster.

Table of Contents

Repository Structure

.
├── 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 

Placement Tagging Script

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.