An open API service indexing awesome lists of open source software.

https://github.com/tongdun/td-redis-operator

一款强大的云原生redis-operator,经过大规模生产级运行考验,支持分布式集群、支持主备切换等缓存集群解决方案…The powerful cloud-native redis-operator, which has passed the test of large-scale production-level operation, supports distributed clusters and active/standby switching ...
https://github.com/tongdun/td-redis-operator

docker k8s kubernetes kubernetes-operator operator ops redis redis-cluster redis-operator redis-sentinel

Last synced: about 1 month ago
JSON representation

一款强大的云原生redis-operator,经过大规模生产级运行考验,支持分布式集群、支持主备切换等缓存集群解决方案…The powerful cloud-native redis-operator, which has passed the test of large-scale production-level operation, supports distributed clusters and active/standby switching ...

Awesome Lists containing this project

README

          

![td-redis-operator](docs/imgs/td-redis-operator-logo.jpg)

中文文档 | English Documents




项目背景



   同盾科技作为中国第三方智能风控与决策服务的头部提供商,日均处理决策请求高达百亿次。因此在同盾的主体数据存储基础架构中,大量使用Redis做为缓存组件。在业务高峰时期,集群实际部署高达千余Redis实例,这势必对DBA运维管控带来极大挑战。2018年,集团推动无状态应用全面容器化,结合云原生技术的缓存云产品开始在数据存储和云原生团队内部酝酿落地。



   td-redis-operator第一版本可追溯到2018年,此次外部开源的版本为第2版,开发时间从2018年7月份一直持续到现在,目前同盾两地双中心的Redis集群全部部署在超大规模的Kubernetes上。


目前使用规模:

  1. Redis实例5000+

  2. PB级别数据量

  3. 涉及1000+个在线实时业务

项目介绍


名称:td-redis-operator


语言:Golang


定位:完全基于云原生技术,实现资源生命周期管理、故障自愈、HA等


介绍:https://github.com/tongdun/td-redis-operator/wiki/基本介绍



工作原理



原理描述:


1. 基于 Kubernetes Operator 开源产品,完全在kubernetes上运维托管。


2. 支持两种Redis实例管理交付,即Redis主备和Redis Cluster。





QuickStart



你可以使用helm命令来部署:

```
$ helm repo add td-redis-operator https://tongdun.github.io/td-redis-operator/charts/td-redis-operator
$ helm repo update
$ helm install [RELEASE_NAME] td-redis-operator/td-redis-operator
```

关于helm的部署过程详见Helm部署文档



除了使用helm部署外,你也可以使用kubectl命令部署:

```
$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/deploy/deploy.yaml
$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_cluster.yaml
$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_standby.yaml
```

更多YAML文件详见YAML部署文档


# Admin Guide

除了可以通过命令行来操作td-redis-operator,还可以通过Web界面来进行操作。

![td-redis-operator-ui](docs/imgs/td-redis-operator-ui-operator.png)

更多操作手册可以查看 td-redis-operator管理指南




# 常见问题

你可以点击这里查看常见问题集锦,也可以点击这里给我们提交issue




# 社区微信群

欢迎扫码加入我们的开源社区微信群,进行详细的沟通交流:

![td-redis-operator](docs/imgs/wechatqrcode.jpg)

(申请的时候备注填写“td-redis-operator”字符。)





# Wiki文档

[https://github.com/tongdun/td-redis-operator/wiki](https://github.com/tongdun/td-redis-operator/wiki/首页)