-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Busted Kubernetes image cache prevents pods starting? #219
Comments
I'm not really sure what's causing this - maybe
|
This is the reason why I temporarily disabled configurable Kubernetes version. I noticed different versions lead to different behaviours and I do not have the time luxury of ensuring smooth execution for all k3s versions. |
Just to clarify, does this only happen with |
It happens with the v1.22.x version that’s currently hard coded too.
…On Sat, Mar 12, 2022 at 9:05 PM Abiola Ibrahim ***@***.***> wrote:
Just to clarify, does this only happen with v1.23.4+k3s1 or you've had
the issue with other versions as well?
—
Reply to this email directly, view it on GitHub
<#219 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIAGBO2NV5QLH5ODFCKBNDU7VZS3ANCNFSM5QS2IHJQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@negz if you would not mind, can you kindly try with the docker runtime as well and see if you see a similar issue. You do not have to affect your current setup as you can use a separate profile for that. colima start docker --with-kubernetes # start with a profile named 'docker', defaults to docker runtime
colima delete docker # teardown when done |
@abiosoft Sorry, I thought I had replied here! It was a while ago now (and I've since gone full yak-shave and moved to a hand-crafted |
I can confirm for |
Monterey 12.3.1 m1 mac pro:
Same issue:
|
@Crayeth does it prevent the cluster from starting for you? |
No the cluster starts however coredns is stuck in createcontainererror. I also noticed my colima version 0.4.1 (via |
@Crayeth can you manually remove the offending image and see if it starts?
If that works, I can find a workaround.
Yeah, this is accurate. |
well, it doesn't find any image
On a sidenote it seems like the coredns images have the wrong arch on them? |
@Crayeth does it still fail when specifying the tag
This is likely related. |
As a next step I stopped and started (not deleted) colima and now it seems to run!
|
The issue is indeed related to the image architecture, a fix is underway. Going forward, the image will be loaded successfully irrespective of the arch, and the missing images afterwards (if any) will be manually pulled by k3s on startup. Kubernetes startup should no longer be affected. |
I notice when starting Colima with Kubernetes (on my M1 Mac) I usually see something like the following:
Note the issue importing
mirrored-coredns-coredns
.This results in the CoreDNS pod being unable to start. From
kubectl -n dube-system describe po coredns-5789895cd-7qtql
:ctr i ls
also complains, but I'm able to fix the issue by runningctr i rm
against the offending image. The Kubernetes pod is then able to pull it successfully. 🤔The text was updated successfully, but these errors were encountered: