-
feat(supervisor): optional ndots override for runner pods (#3441)
发布于
2026-04-24 11:05:55 +00:00 Adds
KUBERNETES_POD_DNS_NDOTS_OVERRIDE_ENABLEDflag (off by default)
that overrides the cluster default and setsdnsConfig.options.ndotson
runner pods (defaulting to 2, configurable via
KUBERNETES_POD_DNS_NDOTS).Kubernetes defaults pods to
ndots: 5, so any name with fewer than 5
dots, including typical external domains likeapi.example.com, is
first walked through every entry in the cluster search list
(<ns>.svc.cluster.local,svc.cluster.local,cluster.local) before
being tried as-is, turning one resolution into 4+ CoreDNS queries (×2
with A+AAAA).Using a lower
ndotsvalue reduces DNS query amplification in the
cluster.localzone.下载附件