2025-5-9 myluzh Kubernetes
0x01 介绍 github地址:https://github.com/OT-CONTAINER-KIT/redis-operator 通过redis-operater支持以下方式部署: RedisCluster 适用于需要高可用性和数据分片的场景,适合大规模部署。 RedisReplication 适合需要读写分离的场景,提供主从复制和负载均衡。 RedisSentinel 适合需要高可用性和自动故障转移的场景,提供监控和故障恢复能力。 Redis 适合简单的单实例部署,用于开发、测试或小型应用。 注意:要使用opstree/redis:xxx镜像,不能用redis官方镜像,要不然有问题。https://quay.io/repository/opstree/redis?tab=tags 0x02 部署redis-operator helm在线部署 helm repo add ot-helm https://ot-container-kit.github.io/helm-charts/ helm upgrade redis-operator ot-helm/redis-operator \ --i...标签: k8s kubernetes helm redis rediscluster redisreplication redissentinel ot ot-redis-operator