How to recycle pods in Kubernetes
I want my pods to be gracefully recycled from my deployments after certain period of time such as every week or month. I know I can add a cron job for that if I know the Kubernetes command. The question is what is the best approach to do this in Kubernetes. Which command will let me achieve this goal? Thank you very much for helping me out on this. You should be managing your Pods via a higher-level controller like a Deployment or a StatefulSet. If you do, and you change any detail of the embedded pod spec, the Deployment/StatefulSet/... will restart all of your pods for you. Probably the most