You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to reproduce it (as minimally and precisely as possible)?
$ kubeadm config images list --image-repository=repo.apps.local
Anything else we need to know?
Workaround is now to tell the pull-through repository to handle coredns differently than other images by adding k8s.gcr.io/coredns as extra upstream fall-back after k8s.gcr.io/ or to manually pull, re-tag and push it.
SGStino
changed the title
CoreDNS image incorrectly resolved when using --image-repository
CoreDNS image incorrectly resolved when using --image-repository and can't use InitConfiguration on existing clusters?
Aug 18, 2022
What keywords did you search in kubeadm issues before filing this one?
#2714 <- misinterpreted as a support request & closed instead of bug report
kubernetes-sigs/kubespray#8182 <- similar bug in kubespray, fixed.
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
):Environment:
kubectl version
): N/Auname -a
): 5.4.0-124-generic & 5.4.0-124-genericWhat happened?
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
Workaround is now to tell the pull-through repository to handle coredns differently than other images by adding
k8s.gcr.io/coredns
as extra upstream fall-back afterk8s.gcr.io/
or to manually pull, re-tag and push it.Using the init configuration lets you set the imageRepository for dns and etcd individually:
https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/#kubeadm-k8s-io-v1beta3-ImageMeta
but that has an imageRepository and imageTag field, but I want to keep the path coredns/coredns, which isn't configurable in the configuration
The text was updated successfully, but these errors were encountered: