Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -888,18 +888,20 @@ You can then configure your Kubernetes infrastructure with the following endpoin
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: liveness-port
port: management-port
failureThreshold: ...
periodSeconds: ...

readinessProbe:
httpGet:
path: /actuator/health/readiness
port: liveness-port
port: management-port
failureThreshold: ...
periodSeconds: ...
----

NOTE: `"management-port"` means the port that the actuator endpoints are available on. It could be the server port if a separate management port has not been configured or the `"management.server.port"` property if that has been explicitly configured.

These health groups are only enabled automatically if the application is <<deployment.adoc#cloud-deployment-kubernetes,running in a Kubernetes environment>>.
You can enable them in any environment using the configprop:management.health.probes.enabled[] configuration property.

Expand Down