adamant-kite-43734
06/01/2022, 12:09 PMminiature-advantage-69986
06/01/2022, 3:32 PMtall-kite-83186
06/01/2022, 3:36 PMnerdctl images
. I'll try the pullPolicytall-kite-83186
06/01/2022, 3:39 PMFailed to pull image "haproxy-agent-service-checker:latest": rpc error: code = Unknown desc = failed to pull and unpack image "<http://docker.io/library/haproxy-agent-service-checker:latest|docker.io/library/haproxy-agent-service-checker:latest>": failed to resolve reference "<http://docker.io/library/haproxy-agent-service-checker:latest|docker.io/library/haproxy-agent-service-checker:latest>": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
tall-kite-83186
06/01/2022, 3:39 PMBack-off pulling image "haproxy-agent-service-checker:latest"
tall-kite-83186
06/01/2022, 3:40 PMtall-kite-83186
06/01/2022, 3:40 PM# nerdctl images
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
haproxy-agent-service-checker latest 164609860dc6 4 hours ago linux/amd64 107.1 MiB 39.3 MiB
tall-insurance-55443
06/01/2022, 3:50 PMtall-insurance-55443
06/01/2022, 3:50 PMnerdctl --namespace <http://k8s.io|k8s.io> build --tag nginx-helloworld:latest .
tall-kite-83186
06/01/2022, 3:50 PMtall-kite-83186
06/01/2022, 3:51 PMtall-insurance-55443
06/01/2022, 3:52 PMfast-garage-66093
06/01/2022, 4:39 PM<http://k8s.io|k8s.io>
namespace for kubernetes to "see" it. Note that these are containerd namespaces, not kubernetes namespaces, which may contribute to the confusiontall-kite-83186
06/01/2022, 4:40 PMfast-garage-66093
06/01/2022, 4:44 PMtall-kite-83186
06/01/2022, 4:44 PMfast-garage-66093
06/01/2022, 4:46 PMnerdctl -n <http://k8s.io|k8s.io> build ...
does not actually build in the target namespace, but copies/links the image over, so kubelet can see it.tall-kite-83186
06/01/2022, 4:46 PMtall-kite-83186
06/01/2022, 4:52 PMfast-garage-66093
06/01/2022, 5:27 PMlatest
tag. It implies imagePullPolicy: Always
, so kubelet will check if there is a newer version of the image on the registry. You need to either specify imagePullPolicy: Never
in your Pod spec, or use any tag other than latest
.fast-garage-66093
06/01/2022, 5:28 PMtall-kite-83186
06/01/2022, 5:29 PMtall-kite-83186
06/01/2022, 5:29 PM