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 ...
Apache License 2.0
515 stars 90 forks source link

redis访问咨询 #4

Closed dockerxu123 closed 2 years ago

dockerxu123 commented 2 years ago

假如外网访问具体ingress映射到哪个服务上,还有内部访问方式是servername+namespace.svc这种方式访问?

dockerxu123 commented 2 years ago

还有能不能在cluster调度的时候加 nodeSelector指定特定环境调度? 如果可以在哪个文件修改?operator 的我修改成功了,cluster的修改报错

dockerxu123 commented 2 years ago

还有能不能在cluster调度的时候加 nodeSelector指定特定环境调度? 如果可以在哪个文件修改?operator 的我修改成功了,cluster的修改报错

gaoshengL commented 2 years ago

1、外部的网络访问方式,需要具体的额外网络方案,这个项目中默认还是内部访问 2、可以考虑添加nodeSelector,最近会提供注意关注,另外资源创建后cluster的yaml修改亲和度应该也是可以的,可以具体贴下报错看下

dockerxu123 commented 2 years ago

方便加一下微信? 哈哈  我现在也在部署中 有一个备的pod一直起不来

------------------ 原始邮件 ------------------ 发件人: "tongdun/td-redis-operator" @.>; 发送时间: 2022年1月17日(星期一) 中午1:49 @.>; @.**@.>; 主题: Re: [tongdun/td-redis-operator] redis访问咨询 (Issue #4)

1、外部的网络访问方式,需要具体的额外网络方案,这个项目中默认还是内部访问 2、可以考虑添加nodeSelector,最近会提供注意关注,另外资源创建后cluster的yaml修改亲和度应该也是可以的,可以具体贴下报错看下

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

houseonline commented 2 years ago

方便加一下微信? 哈哈  我现在也在部署中 有一个备的pod一直起不来

如果你是中文用户,可以扫码加入社区微信群,进一步沟通交流你的问题:

20220117122546

gaoshengL commented 2 years ago

你说的主备方式么,是有一个pod会处于非ready状态,这是架构决定的,主备pod有是否为master状态的readniess探针,所以slave会一直处于非ready状态,只有切换后才会成为master角色提供流量,https://github.com/tongdun/td-redis-operator/wiki/Redis-Standby%E4%BA%A4%E4%BB%98%E4%BB%8B%E7%BB%8D

dockerxu123 commented 2 years ago

感谢  了解  我加一下群

------------------ 原始邮件 ------------------ 发件人: "tongdun/td-redis-operator" @.>; 发送时间: 2022年1月17日(星期一) 下午2:02 @.>; @.**@.>; 主题: Re: [tongdun/td-redis-operator] redis访问咨询 (Issue #4)

你说的主备方式么,是有一个pod会处于非ready状态,这是架构决定的

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

dockerxu123 commented 2 years ago

了解  我加一下群 感谢

------------------ 原始邮件 ------------------ 发件人: "tongdun/td-redis-operator" @.>; 发送时间: 2022年1月17日(星期一) 下午2:02 @.>; @.**@.>; 主题: Re: [tongdun/td-redis-operator] redis访问咨询 (Issue #4)

你说的主备方式么,是有一个pod会处于非ready状态,这是架构决定的

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>