Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos 2.4.0版本,在更改statefulset的replicas数之后,原有pod的cluster.conf不会更新 #12739

Open
Umbrallerstackcode opened this issue Oct 15, 2024 · 2 comments
Labels
area/Kubernetes status/invalid This doesn't seem right

Comments

@Umbrallerstackcode
Copy link

yaml配置文件的变量引用了configmap的变量
image
但是在扩容之后,nacos集群由3个节点,变成4个节点
image

然后查看各个节点的cluster.conf配置,发现只有新增节点的配置文件中有所有节点的DNS
image

随后把新增节点的DNS加入到configmap中,执行apply之后,还是只有新增节点有最全配置
configmap中的配置如下:
image

各个节点的cluster.conf
image

@KomachiSion
Copy link
Collaborator

该文件需要您自行进行变更,可以通过operator、configmap等手段进行变更, 可以到nacos-k8s repo 社区尝试获取支持。

@KomachiSion KomachiSion added status/invalid This doesn't seem right area/Kubernetes labels Oct 16, 2024
@Umbrallerstackcode
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Kubernetes status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants