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 c15003e Add k8s liveness/readiness probes to the example so we wont
forget how to do that in the future.
c15003e is described below
commit c15003e31e1459cdf60ccd121ada177e84b8b131
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Mar 27 09:58:28 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 dc5a909..da842c7 100644
--- a/health-checks/src/main/resources/application.properties
+++ b/health-checks/src/main/resources/application.properties
@@ -25,6 +25,8 @@ logging.level.sample.camel = DEBUG
# expose actuator endpoint via HTTP
management.endpoints.web.exposure.include=health
+# expose liveness/readiness probes
+management.health.probes.enabled=true
# show verbose health details (/actuator/health) so you can see Camel
information also
management.endpoint.health.show-details=always