-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
What would you like to be added:
A new section in the Kind Config that allows for setting Docker network options, specifically the --dns option. We want to specify the DNS server as one of the already running Kind clusters.
Proposed configuration:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
dns:
nameservers:
- "172.18.0.100" # Custom DNS server IPWhy is this needed:
We are building a multi-cluster development environment around Kind, with a local DNS in one of the clusters. This DNS is responsible for routing between clusters. Currently, the Kubernetes API server uses the host's DNS configuration, which creates issues when:
- Admission webhooks must resolve services in other Kind clusters by DNS name.
- Host DNS modification is not desirable or possible in CI/CD environments.
Modifying the local /etc/resolv.conf inside running containers is fragile, and we don't want to use IP addresses to avoid breaking the abstraction layer.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.