[dev] Use of felix healtchecks in karaf 4.2.6

 I tried to investigate in the felix healthcheck framework to create kubernetes health and ready checks.


I found that the healthcheck can be used in karaf even. You have to install it manually with

install -s mvn:org.apache.commons/commons-lang3/3.9
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.api/2.0.2
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.core/2.0.2
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.generalchecks/2.0.2

And the webconsole:

feature:install webconsole
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.webconsoleplugin/2.0.0

Now you can see the check results with:

http://localhost:8181/system/console/healthcheck

The source is available under

https://github.com/apache/felix/tree/archived/healthcheck/webconsoleplugin


Comments

Popular posts from this blog

Sonatype Nexus fails with random "peer not authenticated" errors behind ingress

Creating a flux sync configuration referring a config map for substitution

[mhus lib] Reorg in generation 7 nearly finished