Redis operator for Kubernetes
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Redis Operator Build Status

Status

Development

Overview

The Redis operator manages redis servers deployed to Kubernetes and automates tasks related to operating a Redis server setup.

Requirements

  • Kubernetes 1.7+

Demo

Getting started

Deploy Redis operator

See instructions on how to install Redis operator

Create and destroy an Redis Server

See operator flow

Create

$ kubectl create -f contrib/kube-redis/redis-server.yml

See Redis CRD schema

A 3 member redis service will be created. (deployment resource of 3 replicas)

$ kubectl get pods
NAME                                        READY     STATUS    RESTARTS   AGE
redis-slave-my-redis-2728646000-2hctj       1/1       Running   0          1m
redis-slave-my-redis-2728646000-70n86       1/1       Running   0          1m
redis-slave-my-redis-2728646000-npvgb       1/1       Running   0          1m

Delete

$ kubectl delete -f contrib/kube-redis/redis-server.yml