Skip to content

Commit

Permalink
Merge pull request #26 from liangyuanpeng/warn_coredns
Browse files Browse the repository at this point in the history
添加coredns镜像拉取提示
  • Loading branch information
liangyuanpeng authored Jan 7, 2024
2 parents 5fdacd4 + 9339179 commit 83c7f1e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions artifacts/apimessages/coredns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coredns 1.7.1 以上由于镜像仓库从 registry.k8s.io/coredns 修改为了 registry.k8s.io/coredns/coredns,
因此如果你使用 kubeadm 的话那么你需要在配置文件中配置 dns 的镜像仓库为 registry.lank8s.cn/coredns(完整镜像为 registry.lank8s.cn/coredns/coredns:v1.8.0 ),
配置格式应该如下:

dns:
imageRepository: registry.lank8s.cn/coredns

温馨提示新版本镜像的tag都带有v前缀.
可以在这里查看更多信息: https://liangyuanpeng.com/post/kubeadm-config-note-long-term/

0 comments on commit 83c7f1e

Please sign in to comment.