redis-operator

module
v0.0.0-...-2ea7a04 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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 standalone, sentinel or cluster instance.

Features

  • Standalone/Sentinel/Cluster redis arch supported.
  • Redis ACL supported.
  • Redis 6.0, 6.2, 7.0, 7.2, 7.4 supported (only versions 6.0 and 7.2 have undergone thorough testing. 5.0 also supported, but no acl supported).
  • Nodeport/LB access supported; nodeport assignement also supported.
  • IPv4/IPv6 supported.
  • Online scale up/down.
  • 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

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. For more details, please refer to the CONTRIBUTING.md file.

Releasing

To release a new version of the RedisOperator, create a versioned tag (e.g. v3.18.0) 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
cluster/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
databases/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
middleware/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
middleware/v1
+kubebuilder:object:generate=true +groupName=middleware.alauda.io
+kubebuilder:object:generate=true +groupName=middleware.alauda.io
cmd
internal
ops
vc
pkg

Jump to

Keyboard shortcuts

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