When I issue a command
kubectl delete namespace <mynamespace>
What is the sequence followed by kubernetes to clean up the resources inside a namespace? Does it start with services followed by containers? Is it possible to control the order?
Stack: I am using HELM
to define kubernetes resources.
No it is not possible and it will start in parallel.
kube-controller-manager
has few flags to control the speed/sync of different resources.
You can check --concurrent-*
flags for controller manager on link: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/