# Why pod status is Completed which is controlled by deployment

**URL:** <https://discuss.kubernetes.io/t/why-pod-status-is-completed-which-is-controlled-by-deployment/30075>\
**Category:** General Discussions\
**Tags:** development\
**Created:** [October 10, 2024, 12:57pm UTC](https://discuss.kubernetes.io/t/why-pod-status-is-completed-which-is-controlled-by-deployment/30075 "2024-10-10T12:57:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![650865983](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/650865983/32/15981_2.png) [@650865983](https://discuss.kubernetes.io/u/650865983)\
**Post date:** [October 10, 2024, 12:57pm UTC](https://discuss.kubernetes.io/t/why-pod-status-is-completed-which-is-controlled-by-deployment/30075/1 "2024-10-10T12:57:10Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: v1.25.0  
Cloud being used: (put bare-metal if not on a public cloud)  
Installation method: kubeadm  
Host OS: centos7

After reboot the kubernetes node, I see the pod status is “Completed”, and the description info is  
like the snapshot  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/kubernetes/original/2X/0/072c46188e1215dc4a425f1df5408222118e0a07.png)  
According the [docs](https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/), I learned that kubelet will evict the pod when config the “shutdownGracePeriod”. My question is why pod status is Completed by ‘kubectl get pods’, and why relevant replicaset dosenot cleanup the Completed pods after the nodes resumed.
