You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/11/21 10:24:20 UTC

[GitHub] [camel-k] asifdxtreme commented on issue #1059: camel-k installation struggles

asifdxtreme commented on issue #1059: camel-k installation struggles
URL: https://github.com/apache/camel-k/issues/1059#issuecomment-557019604
 
 
   Hi @davesargrad , I have seen these type of errors before while setting up camel-k behind proxy, only difference in mine and your approach was that I was using `kamel` binary for installation and you are using operator framework for the installation. Anyhow I will list down my steps for installation behind proxy and you can check if this helps you in some way;
   Before all of these you need to create a PVC/PV with name camel-k 
   1. Create http-proxy secrets
   ```
   kubectl create secret generic kamel-test --from-literal=HTTP_PROXY='http://XXX/' --from-literal=HTTPS_PROXY='http://XXX' --from-literal=NO_PROXY='XXX'
   ```
   2. Create config map for maven settings
   ```
   kubectl create configmap maven-settings --from-file=settings.xml
   ```
   3. Create a private docker registry
   ```
   docker run -d -p 5007:5000 --restart=always --name registry registry:2
   ```
   4. Add the internal ip(YYY) to your insecure registry ip in the docker configuration  for all the nodes
   5. Install camel-k using below command
   ```
   kamel install --registry-insecure true --registry YYY:5007 --maven-settings=configmap:maven-settings/settings.xml --http-proxy-secret kamel-test --kaniko-build-cache=false
   ```
   
   This might not be a recommended solution for production env but this will keep you going for now. 

----------------------------------------------------------------
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