This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 1c4dd40 Add k8s liveness/readiness probes to the example so we wont
forget how to do that in the future.
1c4dd40 is described below
commit 1c4dd40eba2eac8f1e8493127e792cbf461af8e3
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Mar 28 11:50:39 2022 +0200
Add k8s liveness/readiness probes to the example so we wont forget how to
do that in the future.
---
health-checks/src/main/resources/application.properties | 2 ++
1 file changed, 2 insertions(+)
diff --git a/health-checks/src/main/resources/application.properties
b/health-checks/src/main/resources/application.properties
index da842c7..b219a84 100644
--- a/health-checks/src/main/resources/application.properties
+++ b/health-checks/src/main/resources/application.properties
@@ -27,6 +27,8 @@ logging.level.sample.camel = DEBUG
management.endpoints.web.exposure.include=health
# expose liveness/readiness probes
management.health.probes.enabled=true
+management.health.livenessState.enabled=true
+management.health.readinessState.enabled=true
# show verbose health details (/actuator/health) so you can see Camel
information also
management.endpoint.health.show-details=always