-
Notifications
You must be signed in to change notification settings - Fork 519
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
Cannot restart Kubelet when there is no network connection #2567
Comments
Hi @vpineda1996, can you expand a bit on your use case? Network access is required to pull ECR credentials, but also pulling a fresh container on reboot resets you back to an unmodified state (excluding the files under the persistent storage locations). |
@jpculp the attempt to pull the pause container via
There should be a better way to deal with this in the detached network case, where there's already a cached copy of the image on disk. Especially for the pause container, reusing the local copy if it exists should be good enough. |
Hey @jpculp, I think @bcressey has an idea of what I want to achieve. I think I might have phrased my requirements incorrectly, making you believe that I wanted to use the same instantiation of the I want to reuse the cached |
I submitted a similar fix for the EKS AMI. awslabs/amazon-eks-ami#1090 |
Image I'm using:
bottlerocket-aws-k8s-1.21-x86_64-v1.8.0-a6233c22
What I expected to happen:
When I reboot my machine when there is no network connection, I am expecting
kubelet
to come back online or to at least see the process failing to start. If there is no network connection, I should see thekubelet
running on the cached container.What actually happened:
The container in which the
kubelet
is executed is not able to start because BR instructs containerd to call ECR to fetch the image rather than use the cached version.How to reproduce the problem:
kubelet
kubelet
is never initalized.The text was updated successfully, but these errors were encountered: