Skip to content

Commit

Permalink
Merge pull request spring-projects#21650 from fastso
Browse files Browse the repository at this point in the history
* pr/21650:
  Polish 'Clarify documentation for probe ports'
  Clarify documentation for probe ports

Closes spring-projectsgh-21650
  • Loading branch information
philwebb committed Jun 8, 2020
2 parents 9dfb09c + 47729be commit 8cd0f56
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -894,18 +894,21 @@ You can then configure your Kubernetes infrastructure with the following endpoin
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: liveness-port
port: <actuator-port>
failureThreshold: ...
periodSeconds: ...
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: liveness-port
port: <actuator-port>
failureThreshold: ...
periodSeconds: ...
----

NOTE: `<actuator-port>` should be set to the port that the actuator endpoints are available on.
It could be the main web server port, or a separate management port if the `"management.server.port"` property has been set.

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

0 comments on commit 8cd0f56

Please sign in to comment.