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

[求助/Help] Allinone 安装,coredns pod无法启动 #21970

Closed
burxtx opened this issue Jan 14, 2025 · 3 comments
Closed

[求助/Help] Allinone 安装,coredns pod无法启动 #21970

burxtx opened this issue Jan 14, 2025 · 3 comments
Labels
question Further information is requested

Comments

@burxtx
Copy link

burxtx commented Jan 14, 2025

1631505315
我在用ocboot安装时coredns pod启动失败,请问是什么问题?

@burxtx burxtx added the question Further information is requested label Jan 14, 2025
@zexi
Copy link
Member

zexi commented Jan 14, 2025

看报错是证书相关的问题,看下系统时间对吗

@burxtx
Copy link
Author

burxtx commented Jan 14, 2025

看报错是证书相关的问题,看下系统时间对吗

时间是对的

@burxtx
Copy link
Author

burxtx commented Jan 15, 2025

我搜到了calico的一个类似的issue #8379,重启pods后确实不再报这个错了,但是readiness probe timeout。使用kubectl logs coredns-xxxx -n kube-system看到 plugin/forward: no nameservers found。我发现服务器上的/etc/resolv.conf是空的,禁用NetworkManager的dns后,手动修改resolv.conf添加nameserver,重启pods恢复正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants