Category: Database, Kubernetes, Infrastructure

We all strive to build resilient and self-healing applications, but occasionally we make a mistake and have to restart one. Hopefully, we will have the time to fix this, but until then, we may need manual intervention. In this article, we understand what happens when we delete a Kubernetes (K8s) pod while it is serving live traffic.

If you do decide to only run one pod for a service and need to delete a pod, you may want to consider scaling up to two pods, delete the pod, and then scale back down.

If we delete a pod, while we wait for a new one to start, will there still be enough pods to handle all the requests?

Related Articles