Redis operator for Kubernetes with HAProxy support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vladimir Smagin 8cb729af59
fix
1 week ago
build run 4 weeks ago
cmd/manager run 4 weeks ago
deploy add clusterrole to be cluster-scoped 3 weeks ago
pkg cleanup 3 weeks ago
vendor run 4 weeks ago
version run 4 weeks ago
.gitignore run 4 weeks ago
Dockerfile remove vendor 3 weeks ago
Jenkinsfile jenkins pipeline 3 weeks ago
Makefile fix 1 week ago
README.md cleanup 3 weeks ago
VERSION run 4 weeks ago
go.mod increase timeouts 3 weeks ago
go.sum increase timeouts 3 weeks ago
tools.go run 4 weeks ago

README.md

Redis operator for Kubernetes

Redis operator runs Sentinel and Redis, makes Redis high available with HAProxy.

Build sources

Prebuilt images

You can find images here https://hub.docker.com/r/iam21h/redis-operator

Deploy operator

kubectl -f deploy/service_account.yaml
kubectl -f deploy/role.yaml
kubectl -f deploy/role_binding.yaml
kubectl -f deploy/operator.yaml

Your first Redis deployment

This resource can help you run your first Redis instance

apiVersion: blindage.org/v1alpha1
kind: Redis
metadata:
  name: my-redis
spec:
  useHAProxy: true
  haproxyReplicas: 1
  sentinelReplicas: 3
  redisReplicas: 3
  quorum: 2
  haproxyTimeoutServer: 30
  haproxyTimeoutClient: 30
  haproxyBackendCheckInterval: 1

Copyright by Vladimir Smagin (21h) 2019
http://blindage.org email: 21h@blindage.org
Project page: https://git.blindage.org/21h/redis-operator