I have an issue where I need to delete a calico-typha poddisruption budget resource and it keeps on respawning.
So far I've tried
kubectl delete pdb calico-typha
kubectl delete pdb calico-typha --grace-period=0 --force
- I even edit it
kubectl edit pdb calico-typha
and inside I changeblockOwnerDelete
set to false saved it, checked the pdb -oyaml but it has not changed.. tried delete again, no luck. - edit
minAvailable
set to 3, saved it. issue kubectl get pdb -owide butAllowedDisruption
is still 0
It seems like the pdb is respawning depite what i do, and it cannot be edited as well..
I know that pods can have replicaset so I would understand if this is a pod but it's not and since it's a PDB and I could not find a documentation where you can set a replicaset for PDB.
Thanks!!