Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups #30612

Closed
wilkinsona opened this issue Apr 8, 2022 · 3 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

management.endpoint.health.group.liveness.show-details=always
management.endpoint.health.group.readiness.show-details=always
management.endpoint.health.probes.add-additional-paths=true
management.endpoint.health.probes.enabled=true
management.server.port=8081

Via @dsyer, with these properties, the probes are not available at :8080/livez and :8080/readyz. Commenting out the show-details properties fixes the problem. The same problem occurs when configuring management.endpoint.health.group.liveness.include and management.endpoint.health.group.readiness.include.

@wilkinsona wilkinsona added this to the 2.6.x milestone Apr 8, 2022
@wilkinsona wilkinsona added the type: bug A general bug label Apr 8, 2022
@wilkinsona

This comment was marked as off-topic.

@wilkinsona

This comment was marked as off-topic.

@ChristianCiach
Copy link

ChristianCiach commented Jun 14, 2022

I just wasted an hour on trying to figure out why /readyz gave me a 404 just because management.endpoint.health.group.readiness.include has been configured.

This issue can be workarounded by setting the additional paths explicitly:

management.endpoint.health.group.liveness.additional-path=server:/livez
management.endpoint.health.group.readiness.additional-path=server:/readyz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants