Replace ambiguous cli help message wording
This commit is contained in:
parent
538d5e8be4
commit
668ff71470
2 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@ import (
|
||||||
func NewCmd(traefikConfiguration *static.Configuration, loaders []cli.ResourceLoader) *cli.Command {
|
func NewCmd(traefikConfiguration *static.Configuration, loaders []cli.ResourceLoader) *cli.Command {
|
||||||
return &cli.Command{
|
return &cli.Command{
|
||||||
Name: "healthcheck",
|
Name: "healthcheck",
|
||||||
Description: `Calls Traefik /ping to check the health of Traefik (the API must be enabled).`,
|
Description: `Calls Traefik /ping endpoint (disabled by default) to check the health of Traefik.`,
|
||||||
Configuration: traefikConfiguration,
|
Configuration: traefikConfiguration,
|
||||||
Run: runCmd(traefikConfiguration),
|
Run: runCmd(traefikConfiguration),
|
||||||
Resources: loaders,
|
Resources: loaders,
|
||||||
|
|
|
@ -29,6 +29,9 @@ You can customize the `entryPoint` where the `/ping` is active with the `entryPo
|
||||||
|---------|---------------|-----------------------------------------------------------------------------------------------------|
|
|---------|---------------|-----------------------------------------------------------------------------------------------------|
|
||||||
| `/ping` | `GET`, `HEAD` | A simple endpoint to check for Traefik process liveness. Return a code `200` with the content: `OK` |
|
| `/ping` | `GET`, `HEAD` | A simple endpoint to check for Traefik process liveness. Return a code `200` with the content: `OK` |
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
The `cli` comes with a [`healthcheck`](./cli.md#healthcheck) command which can be used for calling this endpoint.
|
||||||
|
|
||||||
### `entryPoint`
|
### `entryPoint`
|
||||||
|
|
||||||
Enabling /ping on a dedicated EntryPoint.
|
Enabling /ping on a dedicated EntryPoint.
|
||||||
|
|
Loading…
Reference in a new issue