{"id":49348777,"url":"https://github.com/tongdun/td-redis-operator","last_synced_at":"2026-04-27T09:01:31.747Z","repository":{"id":37242843,"uuid":"420949644","full_name":"tongdun/td-redis-operator","owner":"tongdun","description":"一款强大的云原生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 ...","archived":false,"fork":false,"pushed_at":"2023-12-01T09:16:11.000Z","size":7670,"stargazers_count":519,"open_issues_count":8,"forks_count":92,"subscribers_count":29,"default_branch":"main","last_synced_at":"2024-11-15T01:36:21.481Z","etag":null,"topics":["docker","k8s","kubernetes","kubernetes-operator","operator","ops","redis","redis-cluster","redis-operator","redis-sentinel"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tongdun.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-25T08:59:22.000Z","updated_at":"2024-11-10T16:20:10.000Z","dependencies_parsed_at":"2023-12-01T10:38:08.172Z","dependency_job_id":null,"html_url":"https://github.com/tongdun/td-redis-operator","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tongdun/td-redis-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongdun%2Ftd-redis-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongdun%2Ftd-redis-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongdun%2Ftd-redis-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongdun%2Ftd-redis-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tongdun","download_url":"https://codeload.github.com/tongdun/td-redis-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongdun%2Ftd-redis-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","k8s","kubernetes","kubernetes-operator","operator","ops","redis","redis-cluster","redis-operator","redis-sentinel"],"created_at":"2026-04-27T09:01:30.836Z","updated_at":"2026-04-27T09:01:31.733Z","avatar_url":"https://github.com/tongdun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![td-redis-operator](docs/imgs/td-redis-operator-logo.jpg)\n\n\n\u003ca href=\"README-zh.md\"\u003e中文文档\u003c/a\u003e  |  \u003ca href=\"README.md\"\u003eEnglish Documents\u003c/a\u003e\n\n\u003cbr\u003e\n\n\u003cdiv class=\"blog_content\"\u003e\n    \u003cdiv class=\"iteye-blog-content-contain\" style=\"font-size: 14px;\"\u003e\n\u003ch1\u003e项目背景\u003c/h1\u003e\n\u003cp style=\"font-size: 14px;\"\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003ca href=\"https://www.tongdun.net\"\u003e同盾科技\u003c/a\u003e作为中国第三方智能风控与决策服务的头部提供商，日均处理决策请求高达百亿次。因此在同盾的主体数据存储基础架构中，大量使用Redis做为缓存组件。在业务高峰时期，集群实际部署高达千余Redis实例，这势必对DBA运维管控带来极大挑战。2018年，集团推动无状态应用全面容器化，结合云原生技术的缓存云产品开始在数据存储和云原生团队内部酝酿落地。 \u003c/p\u003e\n\u003cp style=\"font-size: 14px;\"\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;td-redis-operator第一版本可追溯到2018年，此次外部开源的版本为第2版，开发时间从2018年7月份一直持续到现在，目前同盾两地双中心的Redis集群全部部署在超大规模的Kubernetes上。\n\u003c/p\u003e\n\u003cstrong\u003e目前使用规模：\u003c/strong\u003e\n\u003col style=\"font-size: 14px;\"\u003e\n\u003cli\u003eRedis实例5000+\u003c/li\u003e\n\u003cli\u003ePB级别数据量\u003c/li\u003e\n\u003cli\u003e涉及1000+个在线实时业务\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003ch1\u003e项目介绍\u003c/h1\u003e\n\u003cp style=\"margin-top: 15px; margin-bottom: 15px; color: #333333; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 15px; line-height: 25px;\"\u003e名称：td-redis-operator\u003c/p\u003e\n\u003cp style=\"margin-top: 15px; margin-bottom: 15px; color: #333333; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 15px; line-height: 25px;\"\u003e语言：Golang\u003c/p\u003e\n\u003cp style=\"margin-top: 15px; margin-bottom: 15px; color: #333333; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 15px; line-height: 25px;\"\u003e定位：完全基于云原生技术，实现资源生命周期管理、故障自愈、HA等\u003c/p\u003e\n\u003cp style=\"margin-top: 15px; margin-bottom: 15px; color: #333333; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 15px; line-height: 25px;\"\u003e介绍：https://github.com/tongdun/td-redis-operator/wiki/基本介绍\u003c/p\u003e\n\u003cp\u003e \u003c/p\u003e\n\u003ch1\u003e工作原理\u003c/h1\u003e\n\u003cp\u003e\u003cimg width=\"848\" src=\"docs/imgs/td-redis-operator-arch.jpg\" height=\"500\" alt=\"\"\u003e\u003c/p\u003e\n\u003cp\u003e原理描述：\u003c/p\u003e\n\u003cp\u003e1. 基于\u003ca href=\"https://kubernetes.io/docs/concepts/extend-kubernetes/operator/\"\u003e Kubernetes Operator \u003c/a\u003e开源产品，完全在kubernetes上运维托管。\u003c/p\u003e\n\u003cp\u003e2. 支持两种Redis实例管理交付，即Redis主备和Redis Cluster。\u003c/p\u003e\n\u003cbr\u003e\n        \n\u003ch1\u003eQuickStart\u003c/h1\u003e\n        \n\u003cp\u003e你可以使用helm命令来部署：\u003c/p\u003e\n\n```\n$ helm repo add td-redis-operator https://tongdun.github.io/td-redis-operator/charts/td-redis-operator\n$ helm repo update\n$ helm install [RELEASE_NAME] td-redis-operator/td-redis-operator      \n```\n\u003cp\u003e关于helm的部署过程详见\u003ca href=\"https://github.com/tongdun/td-redis-operator/wiki/Helm部署\"\u003eHelm部署文档\u003c/a\u003e。\u003c/p\u003e\n        \n\u003cp\u003e除了使用helm部署外，你也可以使用kubectl命令部署：\u003c/p\u003e\n\n```\n$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/deploy/deploy.yaml\n$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_cluster.yaml\n$ kubectl apply -f https://raw.githubusercontent.com/tongdun/td-redis-operator/main/cr/redis_standby.yaml\n```\n\u003cp\u003e更多YAML文件详见\u003ca href=\"https://github.com/tongdun/td-redis-operator/wiki/YAML部署\"\u003eYAML部署文档\u003c/a\u003e。\u003c/p\u003e\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n# Admin Guide\n   \n除了可以通过命令行来操作td-redis-operator，还可以通过Web界面来进行操作。\n\n![td-redis-operator-ui](docs/imgs/td-redis-operator-ui-operator.png)\n\n更多操作手册可以查看 \u003ca href=\"https://github.com/tongdun/td-redis-operator/wiki/管理指南\"\u003e td-redis-operator管理指南 \u003c/a\u003e。\n    \n\u003cbr\u003e\n    \n# 常见问题\n    \n你可以\u003ca href=\"https://github.com/tongdun/td-redis-operator/wiki/常见问题回答\"\u003e点击这里查看常见问题集锦\u003c/a\u003e，也可以\u003ca href=\"https://github.com/tongdun/td-redis-operator/issues\"\u003e点击这里给我们提交issue\u003c/a\u003e。\n\n\u003cbr\u003e\n    \n# 社区微信群\n    \n欢迎扫码加入我们的开源社区微信群，进行详细的沟通交流：\n    \n![td-redis-operator](docs/imgs/wechatqrcode.jpg)  \n    \n(申请的时候备注填写“td-redis-operator”字符。)\n   \n    \n\u003cbr\u003e\n    \n# Wiki文档\n    \n[https://github.com/tongdun/td-redis-operator/wiki](https://github.com/tongdun/td-redis-operator/wiki/首页)\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftongdun%2Ftd-redis-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftongdun%2Ftd-redis-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftongdun%2Ftd-redis-operator/lists"}