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

Services cannot communicate with each other #6112

Open
nzb15555196162 opened this issue Jun 3, 2024 · 4 comments
Open

Services cannot communicate with each other #6112

nzb15555196162 opened this issue Jun 3, 2024 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@nzb15555196162
Copy link

Describe the Bug
Our scenario is to persist nacos data in mysql.
We deployed nacos serivce and mysql service, and mysql is used as nacos storage db.
It ran normally for the first few times. After restarting the kubesphere cluster, nacos connected to mysql timed out.
For abnormal messages, please refer to the following screenshot
1
2
3

Versions Used
KubeSphere: v3.4.1
Kubernetes: v1.26.14

Environment
How many nodes and their hardware configuration:
CentOS 7.9 / 1 masters: 4cpu/10g; 2 nodes: 4cpu/16g

Please tell me whether it is a problem with DNS resolution or a problem with network connection. How to solve this problem?
Very urgent, please help
Expected behavior
all service ok

@nzb15555196162 nzb15555196162 added the kind/bug Categorizes issue or PR as related to a bug. label Jun 3, 2024
@tanqidi
Copy link

tanqidi commented Jun 12, 2024

使用nacos-operator快速启动一个就不会错了,参考 https://nacos.io/zh-cn/docs/quickstart/quick-start-kubernetes/

@nzb15555196162
Copy link
Author

使用nacos-operator快速启动一个就不会错了,参考 https://nacos.io/zh-cn/docs/quickstart/quick-start-kubernetes/

需要的是solution 而非hack

@tanqidi
Copy link

tanqidi commented Jun 12, 2024

使用nacos-operator快速启动一个就不会错了,参考 https://nacos.io/zh-cn/docs/quickstart/quick-start-kubernetes/

需要的是solution 而非hack

这其实并不是ks的问题,是nacos的问题

@nzb15555196162
Copy link
Author

使用nacos-operator快速启动一个就不会错了,参考 https://nacos.io/zh-cn/docs/quickstart/quick-start-kubernetes/

需要的是solution 而非hack

这其实并不是ks的问题,是nacos的问题
这里dns解析不成功,internal ip可以连接,这里dns不是kubesphere生成?目前我这里重新安装了一个kubershere集群,新集群没有出现这个问题,老集群问题依然存在

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants