Skip to content

Commit ba8d018

Browse files
committed
bootstrap-kind: clear DNS search domains in kind config
Podman injects "dns.podman" into node resolv.conf, which leaks into pod DNS config. CoreDNS cannot resolve this domain, causing 8s timeouts per lookup and killing pods that rely on fast DNS during init (e.g. zookeeper).
1 parent cda6af6 commit ba8d018

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/end2end/bootstrap-kind.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ bootstrap_kind() {
2525
cat > config.yaml << EOF
2626
kind: Cluster
2727
apiVersion: kind.x-k8s.io/v1alpha4
28+
networking:
29+
dnsSearch: []
2830
nodes:
2931
- role: control-plane
3032
image: ${NODE_IMAGE}

0 commit comments

Comments
 (0)