arijitmazumdar edited a comment on issue #1806:
URL: https://github.com/apache/camel-k/issues/1806#issuecomment-728740641


   Hi
   Sorry for being late. I've tried with exposing the service as node-port, but 
I am still seeing the same behavior.
   ```
   $kamel run BasicRest.java -t service.node-port=true --dev
   
   $k get nodes -o wide
   NAME       STATUS   ROLES    AGE   VERSION   INTERNAL-IP    EXTERNAL-IP   
OS-IMAGE           KERNEL-VERSION     CONTAINER-RUNTIME
   minikube   Ready    master   16d   v1.19.2   192.168.49.2   <none>        
Ubuntu 20.04 LTS   5.4.0-53-generic   docker://19.3.8
   
   $ k get svc
   NAME         TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
   basic-rest   NodePort   10.99.128.250   <none>        80:30802/TCP   41s
    curl 192.168.49.2:30802/hello/arijit
   Bye World, arijit from --> basic-rest-75b5458f9-p5bf7!!
   $ curl 192.168.49.2:30802/hello/arijit
   Bye World, arijit from --> basic-rest-75b5458f9-p5bf7!!
   $ curl 192.168.49.2:30802/hello/arijit
   Bye World, arijit from --> basic-rest-75b5458f9-p5bf7!!
   $ curl 192.168.49.2:30802/hello/arijit
   Bye World, arijit from --> basic-rest-75b5458f9-p5bf7!!
   ```
   I am trying this in minikube. Is this happening because of minikube


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to