With Karydia in your cluster, it can happen that a pod will not be deleted. It will stay in the state terminating forever. When e.g. scaling down Karydia to 0 replicas, the pod deletion will finish.
Steps to reproduce
Create a pod in a namespace different from default (e.g. test) on a new cluster without Karydia running
Install Karydia
Delete the pod
The same behavior can be observerd when scaling Karydia down to 0 replicas first and later scaling it up to e.g. 1 replica (in the real world this could be the case when e.g. hibernating a cluster).
Expected behavior
When I delete a pod, it should be deleted within an acceptable timeframe and should not get stuck in the state terminating.
Description
With Karydia in your cluster, it can happen that a pod will not be deleted. It will stay in the state
terminating
forever. When e.g. scaling down Karydia to0
replicas, the pod deletion will finish.Steps to reproduce
default
(e.g.test
) on a new cluster without Karydia runningThe same behavior can be observerd when scaling Karydia down to
0
replicas first and later scaling it up to e.g.1
replica (in the real world this could be the case when e.g. hibernating a cluster).Expected behavior
When I delete a pod, it should be deleted within an acceptable timeframe and should not get stuck in the state
terminating
.Logs / console output / screenshots / affected lines of code
Environment
kubectl version
): 1.17.1