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

a flannel apply problem under kind #3809

Open
gspgsp opened this issue Dec 6, 2024 · 1 comment
Open

a flannel apply problem under kind #3809

gspgsp opened this issue Dec 6, 2024 · 1 comment
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@gspgsp
Copy link

gspgsp commented Dec 6, 2024

i want to use flannel, so i get the yml:

wget https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

then:

kubectl apply -f kube-flannel.yml

and after that, i get the pods info, but the flannel report:

failed to do request: Head "https://registry-1.docker.io/v2/flannel/flannel-cni-plugin/manifests/v1.6.0-flannel1": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused

in fact, i had set the proxy in /etc/docker/daemon.json, but it can't work(and this problem has cost me a long time,but i give up in the end). so i pulled the relevant images to my local, and tag it, after run

kubectl apply -f kube-flannel.yml

now get the pods , the flannel report:

Warning  Failed     12s (x5 over 65s)  kubelet            Error: failed to create containerd container: error unpacking image: wrong diff id calculated on extraction "sha256:30f8e4588c9e02cc64ca7c31900a63826b1

i don't know why, anyone can help me? thanks.

@gspgsp gspgsp added the kind/support Categorizes issue or PR as a support question. label Dec 6, 2024
@aojea
Copy link
Contributor

aojea commented Dec 6, 2024

proxyconnect

you are behind a proxy that does not allow to download the images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants