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 2020/03/12 15:57:44 UTC

[GitHub] [camel-k-runtime] nicolaferraro opened a new issue #262: Quarkus application becomes ready before routes are bound

nicolaferraro opened a new issue #262: Quarkus application becomes ready before routes are bound
URL: https://github.com/apache/camel-k-runtime/issues/262
 
 
   Running the example here:
   
   ```
   https://github.com/nicolaferraro/api-demo
   ```
   
   When running with `-t quarkus.enabled=true`, the `api` integration is considered ready by Kube/Istio before the routes are bound.
   
   So:
   - Wait for the integration to scale down to 0
   - Push some data
   - The integration is scaled up
   - But `404` is received
   
   ```
   [nferraro@localhost nicolaferraro]$ curl -i -X POST --header "Content-Type: application/octet-stream" --data-binary "@/path/to/img.png" http://api.nicola-tests.cluster-url.org/
   HTTP/1.1 100 Continue
   
   HTTP/1.1 404 Not Found
   content-length: 53
   content-type: text/html; charset=utf-8
   date: Thu, 12 Mar 2020 15:38:40 GMT
   x-envoy-upstream-service-time: 13080
   server: istio-envoy
   Set-Cookie: 5edb8a63d369aa9120a27bc3a0ddfa2c=58efd7ebbb54fe47bba304ed22ae6ad9; path=/; HttpOnly
   ```
   
   The same integration without the Quarkus trait works well.

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

[GitHub] [camel-k-runtime] lburgazzoli commented on issue #262: Quarkus application becomes ready before routes are bound

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #262: Quarkus application becomes ready before routes are bound
URL: https://github.com/apache/camel-k-runtime/issues/262#issuecomment-598269168
 
 
   I think we need to split the readiness and liveness probes in general so we probably need to add the health trait but don't know if it will work out of the box

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