简体   繁体   中英

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM