This message was deleted.
# ask-for-help
s
This message was deleted.
👀 1
🦄 1
k
Copy code
[BentoDeployment] [deployiris] [ReconcileError] Failed to reconcile BentoDeployment: failed to check image 192.168.247.22/project-yatai:yatai.iris_classifier.3tsqw5i2twdzpmd3 exists for bento iris_classifier:3tsqw5i2twdzpmd3: create docker registry client for <https://192.168.247.22>: Get "<https://192.168.247.22/v2/>": x509: cannot validate certificate for 192.168.247.22 because it doesn't contain any IP SANs
j
Hi. It seems that your docker registry is invalid. Did you test it with local docker client?
k
in my local docker, I add this
{"insecure-registries": [ "192.168.247.22"]}
to
/etc/docker/daemon.json
, and its work, but I don't know how I try the same method on Yatai
j
If you do not have to stick to that registry, you may also create one following the instruction here: https://docs.bentoml.org/projects/yatai/en/latest/installation/yatai_deployment.html#prepare-docker-registry (the "install docker registry" tab)
k
here my env setting for yatai-deployment
@Jiang sorry, does it have to be exact like this?
Copy code
export DOCKER_REGISTRY_SECURE=false
export DOCKER_REGISTRY_BENTO_REPOSITORY_NAME=yatai-bentos
j
@kurniarahmatt hi. Yeah, we would best follow the doc to specify all env vars
Copy code
export DOCKER_REGISTRY_SERVER=127.0.0.1:5000
export DOCKER_REGISTRY_IN_CLUSTER_SERVER=docker-registry.yatai-deployment.svc.cluster.local:5000
export DOCKER_REGISTRY_USERNAME=''
export DOCKER_REGISTRY_PASSWORD=''
export DOCKER_REGISTRY_SECURE=false
export DOCKER_REGISTRY_BENTO_REPOSITORY_NAME=yatai-bentos
and also make sure the env vars are correct both inside containers and on the node.
If you are not sure, we could just follow the "install docker registry" tab we talked about above.
k
Ok, I'll try for adjust the value of env and/or I'll install docker registry (not using already installed). thanks lot @Jiang
j
glad to help. By the way we also need the ":5000" suffix