Ensure liveness probe is configured

Proprietary

The kubelet uses liveness probes to know when to schedule restarts for containers. Restarting a container in a deadlock state can help to make the application more available, despite bugs.

org.openrewrite.kubernetes.MissingPodLivenessProbe
mod run . --recipe=org.openrewrite.kubernetes.MissingPodLivenessProbe

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Find containers with missing configuration livenessProbe