Clean Documentation
This commit is contained in:
parent
8ac8473554
commit
1997bc7432
77 changed files with 2561 additions and 1247 deletions
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
title: "Traefik Health Check CLI Command Documentation"
|
||||
description: "In Traefik Proxy, the healthcheck CLI command lets you check the health of your Traefik instances. Read the technical documentation for configuration examples and options."
|
||||
---
|
||||
|
||||
# Healthcheck Command
|
||||
|
||||
Checking the Health of your Traefik Instances.
|
||||
{: .subtitle }
|
||||
|
||||
## Usage
|
||||
|
||||
The healthcheck command allows you to make a request to the `/ping` endpoint (defined in the install (static) configuration) to check the health of Traefik. Its exit status is `0` if Traefik is healthy and `1` otherwise.
|
||||
|
||||
This can be used with [HEALTHCHECK](https://docs.docker.com/engine/reference/builder/#healthcheck) instruction or any other health check orchestration mechanism.
|
||||
|
||||
```sh
|
||||
traefik healthcheck [command] [flags] [arguments]
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```sh
|
||||
$ traefik healthcheck
|
||||
OK: http://:8082/ping
|
||||
```
|
||||
|
||||
The command uses the [ping](./ping.md) endpoint that is defined in the Traefik install (static) configuration.
|
||||
Loading…
Add table
Add a link
Reference in a new issue