Spegel Mirroring not working on AWS EKS 1.33 #1296
Replies: 11 comments 1 reply
|
It is hard to tell what is not working without knowing much more about your setup. Did you follow the guide to configure your EKS nodes properly? |
|
closed the issue accidentally, hence reopening it.
Please let me know if you need any more details. Happy to share. |
|
I have the same issue, but I found that it only happens with the ECR registry. The Docker registry works fine, though |
|
Hello @phillebaba , any thoughts/updates about this issue? |
|
Thank you for the ping on this. |
|
Confirmed working on EKS 1.35 with this kind: NodeConfig
spec:
containerd:
config: |
[plugins."io.containerd.grpc.v1.cri".containerd]
discard_unpacked_layers = false
[plugins."io.containerd.cri.v1.images".registry]
config_path = '/etc/containerd/certs.d'The issue reporter's fix likely failed because they put config_path under |
|
@royra the docs currently show using: This seems to match the containerd configs for v2 (https://github.com/containerd/containerd/blob/main/docs/cri/config.md#full-configuration). I believe your example is showing a mix of containerd 1.x and 2.x configurations. |
|
@dampcake you're right. updated to v2 paths only (as the docs show) and it's still working on EKS 1.35 / containerd 2.1.5. |
|
I can also confirm that it's working on EKS 1.34 with the following configuration changes only: |
|
Hi everyone and thank you for you response. |
|
thanks everyone for all the updates. This configuration was not working for me earlier, however we just moved EKS to 1.34. I'll try and share the outcome. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Spegel mirrors are not being used for image pulls. Containerd falls back to the upstream registry (ECR) even when the image exists in the local Spegel cache on another node.
Environment
• Spegel version: v0.6.0 (also tested v0.5.1)
• Kubernetes distribution: EKS
• Kubernetes version: 1.33 (AL2023 AMI)
• containerd version: v2.1.4
• CNI: Amazon VPC CNI
What we were trying
Deploy Spegel to enable P2P image distribution in an EKS cluster. When a pod is scheduled on a new node, it should pull images from another node's local Spegel cache instead of ECR. The size of the image is near to 6G.
Expected behavior
What actually happened
Evidence
Spegel logs confirm image is tracked and advertised:
{"time":"2026-02-20T10:16:14.930673268Z","level":"INFO","msg":"OCI event","ref":"316971283637.dkr.ecr.us-east-1.amazonaws.com/fury:mlflow_staging-260216-1210-f72d444ad","type":"CREATE"}All reactions