Clarify documentation for probe ports
Update the reference documentation to provide a better description of the port that should be used for Kubernetes probes. See gh-21650
This commit is contained in:
parent
9dfb09c5d7
commit
e6ade05c2d
|
|
@ -894,18 +894,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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue