Pebble now includes service auto-restarting and custom health checks, with level="alive" and level="ready" checks being used for K8s liveness/readiness probes in the context of Juju. These features were released in Juju 2.9.26 and are documented from here on: https://juju.is/docs/sdk/pebble#heading--service-auto-restart
Hopefully this gives you the level (so to speak!) of control you need. Let me know if you find anything amiss or if the documentation is lacking.
Pebble now includes service auto-restarting and custom health checks, with level="alive" and level="ready" checks being used for K8s liveness/readiness probes in the context of Juju. These features were released in Juju 2.9.26 and are documented from here on: https:/ /juju.is/ docs/sdk/ pebble# heading- -service- auto-restart
Hopefully this gives you the level (so to speak!) of control you need. Let me know if you find anything amiss or if the documentation is lacking.