Skip to content

Commit

Permalink
chore: dnsSearch on kind cluster (#4691)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Nov 11, 2024
1 parent a7d6526 commit ec56a83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/hack/create-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec56a83

Please sign in to comment.