Nameserver not set correctly in resolv.conf #3791
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/needs-information
Indicates an issue needs more information in order to work on it.
What happened:
For new containers in the cluster the dns setup does not work correctly.
Instead of the coredns service ip, a more "local network"-looking address is used.
The search is completly missing.
This prevents communication to other pods.
What you expected to happen:
Containers can communicate via dns with containers on other nodes and pods.
How to reproduce it (as minimally and precisely as possible):
Command used:
kind create cluster --config=kind-cluster.yaml
with
kind-cluster.yaml
:Anything else we need to know?:
kind-logs.zip - I started a debug container and printed the content of
resolv.conf
.Environment:
kind version
): kind v0.25.0 go1.23.3 darwin/arm64docker info
,podman info
ornerdctl info
):/etc/os-release
): MBP with MacOS 15.1 (24B83) and Docker Desktopkubectl version
):The text was updated successfully, but these errors were encountered: