Is this a new feature request?
Wanted change
That would be convenient to have healtcheck on this container.
Reason for change
This proves useful for rootless podman when we cannot rely on sdnotify=conmon.
It would be beneficial to every container environment.
Proposed code change
This check would do the trick. expired stands for a ready server with no recent user interaction.
/usr/bin/curl -ks -f http://localhost:8443/healthz | /usr/bin/tee /dev/stderr | /usr/bin/jq -e '.status == "alive" or .status == "expired"'
Is this a new feature request?
Wanted change
That would be convenient to have healtcheck on this container.
Reason for change
This proves useful for rootless podman when we cannot rely on
sdnotify=conmon.It would be beneficial to every container environment.
Proposed code change
This check would do the trick.
expiredstands for a ready server with no recent user interaction./usr/bin/curl -ks -f http://localhost:8443/healthz | /usr/bin/tee /dev/stderr | /usr/bin/jq -e '.status == "alive" or .status == "expired"'