k3s: K3S can't pull multiarch images due tu `failed to unpack image on snapshotter overlayfs: `
For some reason, K3S seems to be failing to download the image that I build with docker buildx build.... https://hub.docker.com/repository/docker/uniqe15/event-sourced-bank/tags?page=1
Iām using k3s (k3s version v1.0.0 (18bd921c))with containerd
ā event-sourced-bank3 git:(master) ā kubectl --insecure-skip-tls-verify describe pod event-sourced-bank-77f5c8cc65-f66lj
Name: event-sourced-bank-77f5c8cc65-f66lj
Namespace: default
Priority: 0
Node: worker1/192.168.0.202
Start Time: Tue, 07 Jan 2020 10:55:45 +0000
Labels: app=event-sourced-bank
pod-template-hash=77f5c8cc65
Annotations: <none>
Status: Pending
IP: 10.42.1.76
IPs:
IP: 10.42.1.76
Controlled By: ReplicaSet/event-sourced-bank-77f5c8cc65
Containers:
event-sourced-bank:
Container ID:
Image: uniqe15/event-sourced-bank:latest
Image ID:
Port: 8000/TCP
Host Port: 0/TCP
State: Waiting
Reason: ImagePullBackOff
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-rb494 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
default-token-rb494:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-rb494
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned default/event-sourced-bank-77f5c8cc65-f66lj to worker1
Normal Pulling 3m40s (x4 over 5m6s) kubelet, worker1 Pulling image "uniqe15/event-sourced-bank:latest"
Warning Failed 3m39s (x4 over 5m5s) kubelet, worker1 Failed to pull image "uniqe15/event-sourced-bank:latest": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/uniqe15/event-sourced-bank:latest": failed to unpack image on snapshotter overlayfs: no match for platform in manifest sha256:de324984a3ba9bde1a2bc5230ca8754a2d3e055b301a2301bfd9a8115a6822a5: not found
Warning Failed 3m39s (x4 over 5m5s) kubelet, worker1 Error: ErrImagePull
Normal BackOff 3m24s (x6 over 5m4s) kubelet, worker1 Back-off pulling image "uniqe15/event-sourced-bank:latest"
Warning Failed 3m13s (x7 over 5m4s) kubelet, worker1 Error: ImagePullBackOff
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 22 (6 by maintainers)
@anirtek you appear to have a different issue - your error suggests some sort of DNS problem.
lookup quay.io: Try again@dalekurt what OS are you using on the Pi? Raspbian will not work. That rook/ceph image is amd64/arm64 only.
Edit: You can read my short guide on installing Ubuntu 19.04 on RPis here, or use any other arm64 OS like k3os. https://github.com/onedr0p/k3s-gitops-arm/blob/master/docs/ubuntu.md
However you are going to have a bad time getting rook/ceph working on arm. It currently will not.