Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coredns:1.8.0 not found. manifest unknown. #7658

Closed
sojjan1337 opened this issue May 28, 2021 · 4 comments
Closed

coredns:1.8.0 not found. manifest unknown. #7658

sojjan1337 opened this issue May 28, 2021 · 4 comments

Comments

@sojjan1337
Copy link

sojjan1337 commented May 28, 2021

Hi!

Problem pulling the coredns img. manifest for k8s.gcr.io/coredns:1.8.0 not found: manifest unknow: Failed to fetch "1.8.0"
Please help. :)

https://i.postimg.cc/hv8WG75b/Screenshot-from-2021-05-28-10-58-40.png

I have tried to add this in /etc/hosts
173.194.73.82 k8s.gcr.io

Ansible: 2.9.20
Ubuntu 20.04 LTS

@efrikin
Copy link
Contributor

efrikin commented May 28, 2021

@sojjan1337 hello
They changed path and name tag for image.
There is PRs 1 and 2, which describe this is problem.
please use, docker pull k8s.gcr.io/coredns/coredns:v1.8.0 for check.

@efrikin
Copy link
Contributor

efrikin commented May 28, 2021

@sojjan1337 hello

In the latest release kubespray 2.16.0 already support this is feature. Please see variables. In master branch already usage coredns:v1.8.0
Which are your kubespray release?

@sojjan1337
Copy link
Author

sojjan1337 commented May 28, 2021

Using: 1.19.11

Worked just by switching to 1.7.0 instead.

coredns_version: "v1.8.0" coredns_image_repo: "{{ kube_image_repo }}{{'/coredns/coredns' if (coredns_image_is_namespaced | bool) else '/coredns' }}" coredns_image_tag: "{{ coredns_version if (coredns_image_is_namespaced | bool) else (coredns_version | regex_replace('^v', '')) }}"

to:

coredns_version: "v1.7.0"coredns_image_repo: "{{ kube_image_repo }}{{'/coredns/coredns' if (coredns_image_is_namespaced | bool) else '/coredns' }}"coredns_image_tag: "{{ coredns_version if (coredns_image_is_namespaced | bool) else (coredns_version | regex_replace('^v', '')) }}"

@efrikin
Copy link
Contributor

efrikin commented May 29, 2021

@sojjan1337 good job.

In the future need do full update kubespray. Your need investigate that possibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants