-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Failed creating a 1.22 cluster #2436
Comments
that may be your problem. kubernetes fluctuates in requirements across version and it isn't tightly scoped / scale down is not focused on upstream < 2gb is below kubeadm's recommendations, though kind aims to work in less. (and also some of this memory will be going to things other than this cluster you've created) can you run cluster creation with also FWIW:
This is not recommended, please pin the image digests. (see the release notes and the docs for more on that https://github.com/kubernetes-sigs/kind/releases/tag/v0.11.1) |
Thanks for your response.
Here the logs: |
hmm it seems we didn't get any node logs, off chance perhaps the |
Good point. I re executed the command again:
And exported again the logs :-).
|
I've been in-and-out and didn't get back to this. Looking at the zip you uploaded we got no node logs there which is suspicious, there should at least be the |
FWIW
Maybe you don't have enough free resources in the docker VM? |
and
is working with kind 0.11.1 on my machine |
I will create a cluster successfully when using offical image(eg. kindest/node:v1.21.1). But It will be failed to create a cluster with the image which was build by myself, and the panic log is the same with this. @BenTheElder Here is the log |
Unlike the original issue here, you have node logs, so something is different, we still have no idea what @scraly's issue is. @cmssczy for some reason yours is trying to pull the pause image, which it should not be doing ... 🤔 (also it can't seem to reach the upstream host to pull that image). I don't know why your image doesn't have the pause image but you can see it's not in the images being unpacked at containerd startup. Something is wrong with the image you are running. |
@cmssczy Can you file a new support ticket with some more details about your host environment and what steps you are taking to build the image etc? then we can debug the pause image issue there. |
thanks for your reply. I will create a new issue for this. @BenTheElder |
Closing as not reproducible for now. Other user issues seem unrelated. If we get more details, or a reproducer, will revisit. |
I had this exactly the same problem. I was an environmental issue with proxies in my case, maybe that could apply to you aswell. My problem was, when using Docker Desktop with WSL2, for some reason the Containers inherited my proxy settings from When the control-plane is loading, you can So either empty those proxy settings and try again or add the API Server to noProxy variable. |
This is how docker behaves, I don't think there's a way to override this, but we could detect it and treat it similar to when the env are set #1175
FWIW you'll want to do
The latter is something kind ought to be handling better, we auto inject things into no_proxy, we should be ensuring the api server is in there. At the moment we only inject no_proxy if there are any proxy env though. |
Thanks for the reply. Maybe there should be some kind of mention in the documentation - that if you are in for example in corporate proxy environment (like in my case) - these deployments needs to happen without proxies set, since they're inherited in the containers. |
Hi,
I can't create a cluster with kubernetes v1.22.0.
What happened:
What you expected to happen:
I expected a cluster creating and running :-).
How to reproduce it (as minimally and precisely as possible):
I'm on MacOS.
I execute the following command:
Anything else we need to know?:
Environment:
kind version
):kubectl version
):docker info
):The text was updated successfully, but these errors were encountered: