tadayosi commented on issue #2473: URL: https://github.com/apache/camel-k/issues/2473#issuecomment-893161242
With the custom docker registry and using `Spectrum` build push strategy I could build a kit into the registry. However, the integration pod creation fails with `ErrImagePull` error. ``` $ k describe po simple-5646fbd95c-7ql5x ... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 3m2s default-scheduler Successfully assigned test/simple-5646fbd95c-7ql5x to racine Normal Pulling 91s (x4 over 3m2s) kubelet Pulling image "image-registry.test.svc:5000/test/camel-k-kit-c45mm4poholli5rraht0@sha256:e5b426fea3eb53b1f210efd7e0ba924c7e3950fd9a6c5736ec9b73fcc1abcbae" Warning Failed 91s (x4 over 3m2s) kubelet Failed to pull image "image-registry.test.svc:5000/test/camel-k-kit-c45mm4poholli5rraht0@sha256:e5b426fea3eb53b1f210efd7e0ba924c7e3950fd9a6c5736ec9b73fcc1abcbae": rpc error: code = Unknown desc = error pinging docker registry image-registry.test.svc:5000: Get "http://image-registry.test.svc:5000/v2/": dial tcp: lookup image-registry.test.svc on 127.0.0.1:53: no such host Warning Failed 91s (x4 over 3m2s) kubelet Error: ErrImagePull Warning Failed 80s (x6 over 3m2s) kubelet Error: ImagePullBackOff Normal BackOff 66s (x7 over 3m2s) kubelet Back-off pulling image "image-registry.test.svc:5000/test/camel-k-kit-c45mm4poholli5rraht0@sha256:e5b426fea3eb53b1f210efd7e0ba924c7e3950fd9a6c5736ec9b73fcc1abcbae" ``` The error: > Failed to pull image "image-registry.test.svc:5000/test/camel-k-kit-c45mm4poholli5rraht0@sha256:e5b426fea3eb53b1f210efd7e0ba924c7e3950fd9a6c5736ec9b73fcc1abcbae": rpc error: code = Unknown desc = error pinging docker registry image-registry.test.svc:5000: Get "http://image-registry.test.svc:5000/v2/": dial tcp: lookup image-registry.test.svc on 127.0.0.1:53: no such host It must be related to the cluster's CoreDNS, but I haven't found a way to fix it. From a pod inside the same cluster the hostname resolves successfully: ``` $ k exec ubi8 -- nslookup image-registry.test.svc Server: 10.43.0.10 Address: 10.43.0.10#53 Name: image-registry.test.svc.cluster.local Address: 10.43.25.142 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org