Update k8s201.md to match PR#8011

This commit is contained in:
Chao Xu 2015-05-13 17:05:12 -07:00
parent cbe6840697
commit d5bb436cec

View File

@ -116,7 +116,7 @@ Kubelet to ensure that your application is operating correctly for a definition
Currently, there are three types of application health checks that you can choose from:
* HTTP Health Checks - The Kubelet will call a web hook. If it returns between 200 and 399, it is considered success, failure otherwise.
* Container Exec - The Kubelet will execute a command inside your container. If it returns "ok" it will be considered a success.
* Container Exec - The Kubelet will execute a command inside your container. If it exits with status 0 it will be considered a success.
* TCP Socket - The Kubelet will attempt to open a socket to your container. If it can establish a connection, the container is considered healthy, if it can't it is considered a failure.
In all cases, if the Kubelet discovers a failure, the container is restarted.