-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
Is this a new feature request?
- I have searched the existing issues
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"'
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done