Pods stuck in terminating state after deleting ReplicationController

0 votes

I deleted a replication controller with about 10 pods and after checking with kubectl get pods I can see that some of the pods are staying in terminating status. I've got one master and three nodes in my cluster. Why is this happening?

NAME        READY     STATUS        RESTARTS   AGE
pod-186o2   1/1       Terminating   0          2h
pod-4b6qc   1/1       Terminating   0          2h
pod-8xl86   1/1       Terminating   0          1h
pod-d6htc   1/1       Terminating   0          1h
pod-vlzov   1/1       Terminating   0          1h
Jan 4, 2019 in Kubernetes by shubham
• 7,340 points
2,492 views

1 answer to this question.

0 votes

Delete the pods by FORCE, You should.<(-.-)>

kubectl delete pod NAME --grace-period=0 --force
answered Jan 4, 2019 by ajs3033
• 7,300 points

Related Questions In Kubernetes

0 votes
1 answer

Pods stuck in CrashBackLoopOff state

There are three possibilities here @Ali, Check your ...READ MORE

answered Jan 4, 2019 in Kubernetes by Lissa
1,000 views
+2 votes
2 answers

Kubernetes Pods in Pending State

Hey @Shyam, you get this error because ...READ MORE

answered Oct 31, 2018 in Kubernetes by Kalgi
• 52,360 points
6,191 views
0 votes
1 answer

deleting pods using kubernetes replication controller

The pods which are managed by ReplicationController ...READ MORE

answered Jul 24, 2018 in Kubernetes by DareDev
• 6,890 points
873 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
14,614 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,103 views
0 votes
1 answer
0 votes
1 answer

No pods created after launching a DaemonSet

Kubelet service restart won't help you with ...READ MORE

answered Dec 28, 2018 in Kubernetes by ajs3033
• 7,300 points
3,751 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP