JinyuChen97 opened a new pull request, #8975:
URL: https://github.com/apache/camel-quarkus/pull/8975
This is a fix related to downstream issue that tested camel quarkus
integrated with cassandra-source kamelet in openshift/k8s found pod status is
in running status but not ready.
**root cause found**:
cassandra-quarkus-client auto registered a health check that defaults to
127.0.0.1:9042 when quarkus.cassandra.contact-points isn't configured as camel
managed it's own cqlsession, the health check could not find the cassandra
target and caused openshift/k8s readiness probe failures.
**fix**:
quarkus.cassandra.health.enabled set to false as default.
**Before fix**:
jinyuchen@Jinyus-MacBook-Pro camel-quarkus % kubectl get pods
NAME READY STATUS RESTARTS
AGE
cassandra-5f7c94bf8c-g7lzp 1/1 Running 0
3m15s
cassandra-source-kamelet-test-8448d69bd-cpfnd **0/1** Running 0
114s
**After fix**:
jinyuchen@Jinyus-MacBook-Pro camel-quarkus % kubectl get pods
NAME READY STATUS RESTARTS
AGE
cassandra-5f7c94bf8c-g7lzp 1/1 Running 0
25m
cassandra-source-kamelet-test-8cfd57cbc-9cqgh **1/1** Running 0
22s
--
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]