amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766867625
So, as per your comment, I checked the service configuration.
```
# kubectl describe svc registry -n kube-system
Name: registry
Namespace: kube-system
Labels: addonmanager.kubernetes.io/mode=Reconcile
kubernetes.io/minikube-addons=registry
Annotations: <none>
Selector:
actual-registry=true,kubernetes.io/minikube-addons=registry
Type: ClusterIP
IP: 10.103.54.77
Port: http 80/TCP
TargetPort: 5000/TCP
Endpoints: 172.17.0.5:5000
Port: https 443/TCP
TargetPort: 443/TCP
Endpoints: 172.17.0.5:443
Session Affinity: None
Events: <none>
```
And I see the same IP in the failing pod's description
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 35s default-scheduler Successfully
assigned default/sample-bb48bbd57-dn97b to x006vm57
Normal Pulling 22s (x2 over 34s) kubelet, x006vm57 Pulling image
"10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a"
Warning Failed 22s (x2 over 34s) kubelet, x006vm57 Failed to pull
image
"10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a":
rpc error: code = Unknown desc = Error response from daemon: Get
https://10.103.54.77/v2/: dial tcp 10.103.54.77:443: connect: connection refused
Warning Failed 22s (x2 over 34s) kubelet, x006vm57 Error:
ErrImagePull
Normal BackOff 10s (x2 over 34s) kubelet, x006vm57 Back-off pulling
image
"10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a"
Warning Failed 10s (x2 over 34s) kubelet, x006vm57 Error:
ImagePullBackOff
```
And as per
https://github.com/apache/camel-k/blob/master/pkg/install/operator.go#L310, for
minikube, the installation is already configured to use insecure registry
(still, tried `./kamel install --insecure-registry=true`). So, I'm not sure why
the pull is tried on port 443 (https), instead of 5000 (http). I'll try and
have a look at the `./kamel run` command handling.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]