From 64d8c68a3f3dc72e4c1ba2cdd24af5af292e97ed Mon Sep 17 00:00:00 2001 From: XsWack Date: Wed, 9 Aug 2017 10:40:33 +0800 Subject: [PATCH] Update configure-liveness-readiness-probes.md Fix bad url. http://k8s.io/docs/user-guide/liveness/image/server.go is a bad url and it should be https://github.com/kubernetes/kubernetes/blob/master/test/images/liveness/server.go --- .../configure-liveness-readiness-probes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md b/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md index 4dc47cc5a6..088090f415 100644 --- a/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md +++ b/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md @@ -136,7 +136,7 @@ Any code greater than or equal to 200 and less than 400 indicates success. Any other code indicates failure. You can see the source code for the server in -[server.go](http://k8s.io/docs/user-guide/liveness/image/server.go). +[server.go](https://github.com/kubernetes/kubernetes/blob/master/test/images/liveness/server.go). For the first 10 seconds that the Container is alive, the `/healthz` handler returns a status of 200. After that, the handler returns a status of 500.