-
Environmental Info: Node(s) CPU architecture, OS, and Version: Cluster Configuration: Describe the bug: It looks like the Spegel is not working. Steps To Reproduce: To test the Embedded Registry function, the "ctr -n=k8s.io image import nginx.tar" command was used to import the latest nginx image to the first node.
Expected behavior: Pulling Image of nginx becomes normal. Actual behavior: An Error of fail about pulling image occurs. Additional context / logs: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You haven't described taking any steps to enable or configure the embedded registry. Did you do so? Have you checked the service logs on your nodes to confirm that the embedded registry is starting and mirroring the registry that your pod's images are pulled from? |
Beta Was this translation helpful? Give feedback.
-
First, I would like to say that I am sorry for the lack of detailed explanation.
mirrors:
"*":
The presence of Spegel in all nodes was confirmed through the following command.
|
Beta Was this translation helpful? Give feedback.
I'd missed that you were literally using the
latest
tag when you saidthe latest nginx image
.You should avoid using the
latest
tag, in favor of something less mutable. This is covered in the docs:https://docs.k3s.io/installation/registry-mirror#latest-tag