You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/05/27 05:47:04 UTC
[GitHub] [camel-k] marcredhat commented on issue #493: camel-k on Openshift
Container Platform 3.11
marcredhat commented on issue #493: camel-k on Openshift Container Platform 3.11
URL: https://github.com/apache/camel-k/issues/493#issuecomment-496085351
1) manually pulled gcr.io/kaniko-project/executor
2) create a local docker registry
docker pull docker.io/registry
docker run --privileged -d -p 5000:5000 --restart=always --name registry_private registry:latest
3) change to use local registry localhost:5000 instead of the local registry defined in /etc/origin/master/master-config.yaml
cat /etc/origin/master/master-config.yaml | grep internalRegistry
internalRegistryHostname: docker-registry.default.svc:5000
My quick and dirty solution was to set in /etc/hosts on the master: 127.0.0.1 docker-registry.default.svc docker-registry.default.svc.cluster.local
Hope this helps,
Marc
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services