From ec56a83e216735176e52aa3e7a5a04bab6db981e Mon Sep 17 00:00:00 2001 From: zirain Date: Mon, 11 Nov 2024 15:24:16 +0800 Subject: [PATCH] chore: dnsSearch on kind cluster (#4691) Signed-off-by: zirain --- tools/hack/create-cluster.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/hack/create-cluster.sh b/tools/hack/create-cluster.sh index ad3cff1cd92..d1601cb83b6 100755 --- a/tools/hack/create-cluster.sh +++ b/tools/hack/create-cluster.sh @@ -14,6 +14,9 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 networking: ipFamily: ${IP_FAMILY} + # it's to prevent inherit search domains from the host which slows down DNS resolution + # and cause problems to IPv6 only clusters running on IPv4 host. + dnsSearch: [] nodes: - role: control-plane EOM