Page MenuHomeVyOS Platform

containers - add health command
Open, LowPublicFEATURE REQUEST

Description

podman has the ability to make health-check from a container , it would be nice, has the possibility to add this option:

--health-cmd=”command” | ‘[“command”, “arg1”, …]’

Set or alter a healthcheck command for a container. The command is a command to be executed inside the container that determines the container health. The command is required for other health check options to be applied. A value of none disables existing health-checks.

example: https://docs.podman.io/en/latest/markdown/podman-run.1.html

sudo podman run --health-cmd '/sbin/healthcheck.sh' --health-interval 60s --health-timeout 10s --health-retries 30

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

syncer changed the subtype of this task from "Task" to "Feature Request".
syncer moved this task from Need Triage to Backlog - Feature Requests on the VyOS Rolling board.