f8-spring-boot-health-check ignores management context-path
See original GitHub issueDescription
f8-spring-boot-health-check produces probe but ignores the context-path.
It produces:
[INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
[INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds
Whereas it must produce:
[INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/management/health', scheme='HTTP', with initial delay 10 seconds
[INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/management/health', scheme='HTTP', with initial delay 180 seconds
Info
- f-m-p version :
3.5.22
- Maven version (
mvn -v
) :
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T19:39:06Z)
Maven home: /home/jhipster/.m2/wrapper/dists/apache-maven-3.5.0-bin/6ps54u5pnnbbpr6ds9rppcc7iv/apache-maven-3.5.0
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.9.36-moby", arch: "amd64", family: "unix"
-
Kubernetes / OpenShift setup and version : Kubernetes 7.3
-
If it’s a bug, how to reproduce : Just clone the repo; and run the fabric8 maven plugin.
-
Sample project : [GitHub Clone URL] As you can see that management.context-path has been defined but its ignored:
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
54. Monitoring and Management over HTTP - Spring
Unless the management port has been configured to expose endpoints by using a different HTTP port, management.endpoints.web.base-path is relative to server.
Read more >fabric8io/fabric8-maven-plugin
f8 -healthcheck-spring-boot. This enricher adds kubernetes readiness and liveness probes with Spring Boot. This requires the following dependency ...
Read more >SpringBoot adds context path to Actuator endpoints
What you could do is to use a different port for the management endpoints. management.server.port=8081. Then you will get http://localhost:8081/ ...
Read more >Fuse on OpenShift Guide - Red Hat Customer Portal
Configure Samples operator to ignore the fuse templates and image streams that ... openshift:fuse711-spring-boot host: null [INFO] F8: HINT: Use the command ...
Read more >Untitled
Hot springs mornington deals, Usaa mortgage rates trend, Anzics 2015 program ... Blatantly ignored meaning, Pakistan post tracking site, Laurent albouy pvh, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hrishin I’ve created another issue for this problem (#1019).
Duplicate of #1019