> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Liveness Probes

*Last Updated: October 15, 2024*

# Overview

Liveness probes are similar to startup probes, except that they run after the startup probe has completed successfully.
Typically, Liveness probes are used to evaluate whether the application running in your container is in a healthy state.
If a container's liveness probe reaches the failure state, the container will be reallocated to a different node.
Liveness probes are a good place to put logic that checks for CUDA errors, and other unrecoverable states.

## Successful Liveness Probe

<img src="https://mintcdn.com/salad/FAbpq_8Gi6WzwO0s/container-engine/images/liveness-success.png?fit=max&auto=format&n=FAbpq_8Gi6WzwO0s&q=85&s=17bc3df45d4143c26e353b734a23f0d2" width="1323" height="291" data-path="container-engine/images/liveness-success.png" />

## Failed Liveness Probe

<img src="https://mintcdn.com/salad/FAbpq_8Gi6WzwO0s/container-engine/images/liveness-failure.png?fit=max&auto=format&n=FAbpq_8Gi6WzwO0s&q=85&s=1318ba39d2101ed92fd565ed2a2f269c" width="1323" height="291" data-path="container-engine/images/liveness-failure.png" />

# Configuration

Check the checkbox to enable the liveness probe. Currently, the supported protocols are `exec`, `gRPC`, `TCP`, and
`HTTP/1.X`

<img src="https://mintcdn.com/salad/pEBrSzH4UQRtJw00/container-engine/images/liveness-tcp-config.png?fit=max&auto=format&n=pEBrSzH4UQRtJw00&q=85&s=192a719974b284a8d01813c64ba1e51c" width="480" height="1134" data-path="container-engine/images/liveness-tcp-config.png" />
