Hi, I established yatai service in my opremise-env...
# ask-for-help
u
Hi, I established yatai service in my opremise-environment. Also I installed harbor as a docker registry. However when I deployed example bentos, error occurs like below:
[2024-03-21 14:01:21] [BentoDeployment] [test2] [ReconcileError] Failed to reconcile BentoDeployment: BentoRequest yatai/iris-classifier--fkyilkxfz-2-p-75-pki is not available: ensure image exists: check image <http://harbor.localhost.com/yatai-bentos:yatai.iris_classifier.fkyilkxfz2p75pki|harbor.localhost.com/yatai-bentos:yatai.iris_classifier.fkyilkxfz2p75pki> exists: create docker registry client for <https://harbor.yatai-image-builder.svc.cluster.local>: Get "<https://harbor.yatai-image-builder.svc.cluster.local/v2/>": x509: certificate signed by unknown authority
It is possible to access
<https://harbor.yatai-image-builder.svc.cluster.local>
and
<https://harbor.local.host>
with chrome browser But it seems that yatai cannot access because of certificate issue. I already tested with openssl, cert-manager, letsencrypt for ssl certificate. However it all shows same errors. Do you not support private registry like harbor? Or do you know how to solve?
j
@Xipeng Guan!
x
‌You can run
curl -I <https://harbor.yatai-image-builder.svc.cluster.local>
to test the SSL certificate.
u
It works with curl command:
curl -I <https://harbor.yatai-image-builder.svc.cluster.local>
I received this response:
HTTP/1.1 200 OK
Also I can push image with CLI:
docker push <http://harbor.localhost.com/yatai-bentos/iris_classifier:o5knrixe4oyfzs6k|harbor.localhost.com/yatai-bentos/iris_classifier:o5knrixe4oyfzs6k>