<p>Is it possible to tell Kubernetes to just throw away my current pod and recreate it again every 48 hours? Is there some type of a scheduler on Google Cloud Kubernetes? Or can I just configure my deployment this way?
I have a Node.js application containerized with Docker running inside of a Kubernetes cluster on Google Cloud Platform.
Thank you in advance!</p>

<p>True "Kubernetes way" to resolve this issue - is to design <code>ReadinessProbe</code>/<code>LivenessProbe</code> for your app's deployment/statefulset/pod. Once your <code>Pod</code> fall down correct probes will handle it and your <code>Pod</code> will be recreated fully automatically</p>

<p>P.S: you are the one who knows your app better then anyone. Try out to resolve "every 48h issues" and then make the right probes. Good luck!</p>

<p>Link: <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/</a></p>
