agent-substrate / agent-substrate/substrate

hack: IPv6-only kind clusters resolve a stale registry address

未关闭
#1,049 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/dev-infra kind/bug
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

On `IP_FAMILY=ipv6`, `hack/create-kind-cluster.sh` writes the registry's IPv6
address into the CoreDNS Corefile as a `hosts` entry, read once from
`docker inspect` at cluster-create time. The script recreates the registry
container whenever its port mapping does not match, and Docker hands the new
container a different address. Every cluster created before that point then
resolves `kind-registry` to an address nothing is listening on.

The symptom is worse than a missing entry: the name still resolves, so image
pulls fail with `connection refused` rather than a lookup error, and a
single-cluster dev loop never sees it. The entry is added by #958.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。