We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
用nodelocaldns的时候,pod无法解析写在coredns的hosts内容
pod正常解析自定义解析
本地resolv.conf内容为127.0.0.1 本地没有监听端口
No response
# On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here
NAME="openEuler" VERSION="22.03 (LTS-SP4)" ID="openEuler" VERSION_ID="22.03" PRETTY_NAME="openEuler 22.03 (LTS-SP4)" ANSI_COLOR="0;31"
The text was updated successfully, but these errors were encountered:
通过修改主机resolv.conf 指向cordns地址解决
Sorry, something went wrong.
nodelocaldns的dnsPolicy修改为ClusterFirstWithHostNet应该也可以 , 对于以 hostNetwork 方式运行的 Pod,应将其 DNS 策略显式设置为 "ClusterFirstWithHostNet"。否则,以 hostNetwork 方式和 "ClusterFirst" 策略运行的 Pod 将会做出回退至 "Default" 策略的行为。
No branches or pull requests
What happened? 发生了什么问题?
用nodelocaldns的时候,pod无法解析写在coredns的hosts内容
What did you expect to happen? 期望的结果是什么?
pod正常解析自定义解析
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
本地resolv.conf内容为127.0.0.1 本地没有监听端口
Anything else we need to know? 其他需要说明的情况
No response
Kubernetes version k8s 版本
Kubeasz version
OS version 操作系统版本
NAME="openEuler"
VERSION="22.03 (LTS-SP4)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP4)"
ANSI_COLOR="0;31"
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况
The text was updated successfully, but these errors were encountered: