What is the sequence of cleaning up the resources in a namespace of Kubernetes?

4/25/2019

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.

-- Vishrant
kubernetes
kubernetes-helm

1 Answer

4/26/2019

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/

-- Akash Sharma
Source: StackOverflow