doru1004 opened a new issue #1902:
URL: https://github.com/apache/camel-k/issues/1902
Docker for Desktop allows the creation of a Kubernetes cluster.
I am trying to get `kamel run` to work in this setting but I'm hitting some
blockers.
First step seems to be the need to create a registry using this command:
```
docker run -d -p 5000:5000 --restart=always --name registry registry:2
```
There are suggestions out there to use the actual `docker.io` registry but
that is impractical because it requires the passing of the login credentials on
the command line which is something that I would like to avoid.
Using the above created registry is desired and should work.
I install the camel-K operator like this:
```
kamel install --registry localhost:5000 --registry-insecure --force
```
The operator reaches running phase:
```
camel-k-operator-57bbcbd6dc-rrz6b 1/1 Running 0 3m3s
```
I then try to actually run one of the sample examples:
```
kamel run examples/Sample.java
```
This leads to this:
```
> kubectl get integration
sample Building Kit kit-bvusmmgm83jf9ujgr5fg
```
But after a while the kit building fails:
```
{"level":"info","ts":1610468378.0880353,"logger":"camel-k.controller.integrationkit","msg":"Reconciling
IntegrationKit","request-namespace":"default","request-name":"kit-bvusmmgm83jf9ujgr5fg"}
{"level":"info","ts":1610468378.0881057,"logger":"camel-k.controller.build","msg":"Invoking
action
error-recovery","request-namespace":"default","request-name":"kit-bvusmmgm83jf9ujgr5fg","api-version":"camel.apache.org/v1","kind":"Build","ns":"default","name":"kit-bvusmmgm83jf9ujgr5fg"}
```
I suspect it is a registry access problem but I'm not sure. Any ideas how to
get this to work?
----------------------------------------------------------------
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]