Home
Softono

Couchbase Kubernetes

Open source Apache-2.0 Shell
35
Stars
40
Forks
5
Issues
2
Watchers
10 months
Last Commit

 About Couchbase Kubernetes

Couchbase on Kubernetes

Platforms

Web Self-hosted Kubernetes

Languages

Shell

Links

Need Help Installing Couchbase Kubernetes?

We provide expert installation service for this software. Our team will install, configure, and secure Couchbase Kubernetes on your server. plans start at just $30.

Couchbase Kubernetes

View on GitHub

= Couchbase on Kubernetes

== Start Kubernetes cluster

export KUBERNETES_PROVIDER=aws
./cluster/kube-up.sh

== Create Couchbase Service and Expose as LB

Create a Service, Replication Controller with 1 replica, and expose all of this as a Load Balancer

./cluster/kubectl.sh -f couchbase-service.yml

== Couchbase Cluster

=== Implicitly (preferred)

link:cluster/readme.adoc[Couchbase Cluster using Kubernetes]

=== Explicitly

. Create Couchbase Replication Controller with 2 replicas: +

./cluster/kubectl.sh -f couchbase-rc.yml

. Get pods in the RC:

./kubernetes/cluster/kubectl.sh get po

. Get IP address of the two pods:

./kubernetes/cluster/kubectl.sh describe <pod-1>
./kubernetes/cluster/kubectl.sh describe <pod-2>

. Create the cluster and rebalance:

couchbase-cli rebalance --cluster=<pod-1-ip>:8091 --user Administrator --password password --server-add=<pod-2-ip> --server-add-username=Administrator --server-add-password=password   

== Persistent Volumes

link:pv/readme.adoc[Kubernetes Persistent Volume bound to Amazon EBS with Couchbase]