madmesi opened a new issue #1580:
URL: https://github.com/apache/camel-k/issues/1580


   Description :
   my Sample.java camel-k integration on kubernetes failed:
      
   I installed camel -k with command line:
   kamel install --registry=myregistry.example.com --force
   
       - kubectl : ```Client Version: version.Info{Major:"1", Minor:"18", 
GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", 
GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", 
Compiler:"gc", Platform:"linux/amd64"}```
   
       - kubeadm version: ```kubeadm version: &version.Info{Major:"1", 
Minor:"18", GitVersion:"v1.18.2", 
GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", 
BuildDate:"2020-04-16T11:54:15Z", GoVersion:"go1.13.9", Compiler:"gc", 
Platform:"linux/amd64"}```
       
       - Docker: ce-19.03.4
       - os: centos 7 
       - kernel: 3.10.0-1127.8.2.el7.x86_64
       - I have 3 masters and 5 worker nodes
       My integration file :
       Sample.java
   
   ```
   import org.apache.camel.builder.RouteBuilder;
   
   public class Sample extends RouteBuilder {
     @Override
     public void configure() throws Exception {
             from("timer:tick")
           .log("Hello Camel K!");
     }
   }
   ```
   I used to have this error in the (error state) pod:
   Error:
   ```
   Error during unshare(CLONE_NEWUSER): Invalid argument
   User namespaces are not enabled in /proc/sys/user/max_user_namespaces.
   level=error msg="error parsing PID \"\": strconv.Atoi: parsing \"\": invalid 
syntax"
   level=error msg="(unable to determine exit status)"
   ```
   
   after doing ```echo 2147483647 > /proc/sys/user/max_user_namespaces``` on 
all nodes error changed to:
   
   Error:
   ```
   Error during unshare(...): Operation not permitted
   level=error msg="exit status 1"
   ```
   
   Is there something that I've missed? 
   Thanks in advance for helping.


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


Reply via email to