redis-operator

module
v0.0.0-...-0227cab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: Apache-2.0

README

RedisOperator Coverage Status

RedisOperator is a production-ready kubernetes operator to deploy and manage high available Redis Sentinel and Redis Cluster instances. This repository contains multi Custom Resource Definition (CRD) designed for the lifecycle of Redis sentinel or cluster instance.

Features

  • Redis sentinel/cluster supported
  • ACL supported
  • Redis 6.0, 6.2, 7.0, 7.2 supported (only versions 6.0 and 7.2 have undergone thorough testing. 5.0 also supported, but no acl supported)
  • Nodeport access supported, assigne ports also supported
  • IPv4/IpV6 supported
  • Online scale up/down
  • Online data backup/restore
  • Graceful version upgrade
  • Nodeselector, toleration and affinity supported
  • High available in production environment

Quickstart

If you have a Kubernetes cluster and kubectl configured to access it, run the following command to instance the operator:

TODO

Documentation

RedisOperator is covered by following topics:

  • TODO Operator overview
  • TODO Deploying the operator
  • TODO Deploying a Redis sentinel/cluster instance
  • TODO Monitoring the instance
  • TODO Backup instance data

In addition, few samples can be find in this repo.

Contributing

This project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue, or file a new one.

Releasing

To release a new version of the RedisOperator, create a versioned tag (e.g. v1.2.3) of the repo, and the release pipeline will generate a new draft release, along side release artefacts.

License

Licensed under Apache 2.0

Directories

Path Synopsis
api
databases.spotahome.com/v1
Package v1 contains API Schema definitions for the databases v1 API group +kubebuilder:object:generate=true +groupName=databases.spotahome.com
Package v1 contains API Schema definitions for the databases v1 API group +kubebuilder:object:generate=true +groupName=databases.spotahome.com
redis.kun/v1alpha1
Package v1alpha1 contains API Schema definitions for the redis.kun v1alpha1 API group +kubebuilder:object:generate=true +groupName=redis.kun
Package v1alpha1 contains API Schema definitions for the redis.kun v1alpha1 API group +kubebuilder:object:generate=true +groupName=redis.kun
redis/v1
Package v1 contains API Schema definitions for the redis.middleware.alauda.io v1 API group +kubebuilder:object:generate=true +groupName=redis.middleware.alauda.io
Package v1 contains API Schema definitions for the redis.middleware.alauda.io v1 API group +kubebuilder:object:generate=true +groupName=redis.middleware.alauda.io
cmd
internal
pkg
ops

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL