mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Update k8s201.md to match PR#8011
This commit is contained in:
parent
cbe6840697
commit
d5bb436cec
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user