Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
everpeace authored Oct 25, 2017
1 parent f99a7d7 commit d32ec82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ It supports to setup kubernetes liveness/readiness probe really easily like this

// by default, listening localhost:9999
// and probe paths are
// /k8s/liveness_probe
// /k8s/readiness_probe
// GET /k8s/liveness_probe
// GET /k8s/readiness_probe
val probeBinding = bindAndHandleProbes(
readinessProbe(healthCheck(name = "readiness_check")(healthy)),
livenessProbe(asyncHealthCheck(name = "liveness_check")(Future(healthy)))
Expand All @@ -100,13 +100,13 @@ Then you can set kubernetes liveness/readiness probe in the kubernetes manifest
livenessProbe:
httpGet:
path: /k8s/liveness_probe
port: 9999
port: 9999
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /k8s/readiness_probe
port: 9999
port: 9999
initialDelaySeconds: 3
periodSeconds: 3
...
Expand All @@ -126,4 +126,4 @@ This code is open source software licensed under MIT License.

Please note that part of codes in the repository were originally written by [timeoutdigital](https://github.com/timeoutdigital). Copyright credit presents on relevant sources.

[k8sprobe]: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ "Kubernetes liveness/readiness probe"
[k8sprobe]: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ "Kubernetes liveness/readiness probe"

0 comments on commit d32ec82

Please sign in to comment.