I have Deployment
that runs 5 pods.
I want to restart all pods each 5min.
Currently I'm doing it with python scritpt that is running kubectl get po
and checks AGE, if the AGE bigger than 5 min it deletes the pod.
Is there another way to achieve that?