Unable to pull images from Harbor from kubernetes #18688
-
Hello, I have installed Harbor on my kubernetes cluster (microk8s running on ubuntu lunar) I can pull and push images to and from Harbor. However when i do a kubectl apply -f of a yaml file containing one of the pushed images I get and ImagePullBackoff with the following error in the logs: Normal Pulling 25s (x2 over 39s) kubelet Pulling image "core.harbor.xxx.yy/library/openliberty:arm64v8" I have followed the instructions from : https://microk8s.io/docs/registry-private
server = "http://core.harbor.xxx.yy" [host."http://core.harbor.xxx.yy"] What else can I try? Help/advise appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please refer to the The example from
|
Beta Was this translation helpful? Give feedback.
-
I have a question do I need to create the |
Beta Was this translation helpful? Give feedback.
Please refer to the
microk8s
documents to configure the self-signed cert, it should be in the sectionUsing a custom CA
ofhttps://microk8s.io/docs/registry-private
. It seems your configuration is not completely.The example from
microk8s
. The configuration you provided seems to be missing the last line "ca=...".