diff options
| author | Nicolas Vollmar <nvollmar@gmail.com> | 2025-11-13 14:32:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-13 13:32:10 +0000 |
| commit | fd7d141ef1d3e8ac54a1d9441ee84769f4f81d06 (patch) | |
| tree | a859009c9452eb85c98a617f69606b6c2fece15b /docs | |
| parent | 0cc6bbe6a45e731ee52a795dfbb5449b8146e3f6 (diff) | |
| download | vyos-documentation-fd7d141ef1d3e8ac54a1d9441ee84769f4f81d06.tar.gz vyos-documentation-fd7d141ef1d3e8ac54a1d9441ee84769f4f81d06.zip | |
T6686: adds container health check documentation (#1682)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/configuration/container/index.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst index ed70a49c..ca235521 100644 --- a/docs/configuration/container/index.rst +++ b/docs/configuration/container/index.rst @@ -202,6 +202,31 @@ Configuration Disable a container. +Container Health checks +======================= + +By default, no health checks are run, even when defined by the image. + +.. cfgcmd:: set container name <name> health-check + + Default health check is run for the container if defined by the image. + +.. cfgcmd:: set container name <name> health-check command <command> + + Override the default health check command from the image for a container. + +.. cfgcmd:: set container name <name> health check interval <interval> + + Override the default health-check interval. For example: `60` + +.. cfgcmd:: set container name <name> health check timeout <timeout> + + Override the default health-check timeout. For example: `10` + +.. cfgcmd:: set container name <name> health check retries <retries> + + Number of health check retries before container is considered unhealthy. For example: `1` + Container Networks ================== |
