error in kubernetes while pulling images from redhat registry
recently i encountered with an error while setting up eclipse che in my kubernetes cluster.
when starting first workspace it says
Failed to pull image "registry.access.redhat.com/ubi8-minimal:8.2-301": rpc error: code = Unknown desc = open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory
i was using centos as my kubernetes host OS. I tried to install rhsm packages etc but no luck
Then i tried this workaround which works like a charm.
SO any one faces same issue can fix by following up bellow step
run bellow command in all your worker node
openssl s_client -showcerts -servername registry.access.redhat.com
-connect registry.access.redhat.com:443 </dev/null 2>/dev/null |
openssl x509 -text > /etc/rhsm/ca/redhat-uep.pem
Comments
Post a Comment