Skip to content

andrewwebber/couchbase-k8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Couchbase K8 - Couchbase on Kubernetes

Features

  • Auto join of new Couchbase members
  • Auto graceful failover of draining Couchbase members

Prerequisites

  • Kubernetes 1.6+ cluster up and running
  • kubectl already setup to point to the cluster
  • Kubernetes cluster has a dynamic storage provider
  • Helm client is locally installed and cluster is initialized

Getting started

Helm Values

Review the Etcd and Couchbase helm values for your Couchbase cluster

  • Check the name of your storage classes

Deploy a master

helm install -n etcd -f ./etcd/values.yaml ./etcd
helm install -n couchbase -f ./couchbase/values.yaml ./couchbase

Scale the Couchbase cluster

kubectl scale statefulset/couchbase-worker --replicas=3

Couchbase administration dashboard

kubectl port-forward couchbase-worker-0 8091

Open the dashboard

Releases

No releases published

Packages

No packages published