gtg-bantonio opened a new issue, #1579:
URL: https://github.com/apache/camel-karavan/issues/1579

   ### Describe the bug
   
   Good day, when we're trying the new 4.14.2 in our Kubernetes cluster, we 
notice that the container never get up, and checking the logs, we notice that 
the Docker Healthcheck reports its "DOWN" status.
   
   Getting more deeply, we locate the error in the DockerService.java
   ```java
       public HealthCheckResponse call() {
           if (!ConfigService.inKubernetes()) {
               if (checkDockerSwarm()) {
                   return HealthCheckResponse.named("Docker Swarm 
Mode").up().build();
               } else if (checkDocker()) {
                   return HealthCheckResponse.named("Docker").up().build();
               }
           }
           return HealthCheckResponse.named("Docker").down().build();
       }
   ```
   
   We think that the default response when is in a Kubernetes cluster should be 
`up()`
   
   ### Steps to reproduce the behavior
   
   1. Deploy Karavan in a Minikube cluster
   2. See the logs
   
   
   ### Variant
   
   Web Application
   
   ### Container Management (if applicable)
   
   Kubernetes
   
   ### Operating System (if applicable)
   
   Linux
   
   ### Version
   
   4.14.2
   
   ### Relevant log output
   
   ```shell
   [2025-12-26  10:55:00]       2025-12-26 16:55:00,695 INFO  [io.sma.health] 
(vert.x-eventloop-thread-0) SRHCK01001: Reporting health down status: 
{"status":"DOWN","checks":[{"name":"Projects","status":"UP"},{"name":"Kubernetes","status":"UP"},{"name":"Docker","status":"DOWN"},{"name":"SmallRye
 Reactive Messaging - readiness check","status":"UP"}]}
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to