kubernetes-retired/hierarchical-namespaces

order in subnamespaceanchor deletion

Closed this issue · 9 comments

wibed commented

issue subnamespaces with a mount point to be deleted before others, to prevent blocking finalizers freezing the command

wibed commented

i meant for namespaces that contain resources such as pvc

wibed commented

of course
heres is an example:

staging
├── [s] cert-manager
├── [s] csi-driver-nfs
├── [s] docker-registry
├── [s] gitsrv
├── [s] kubernetes-replicator
├── [s] metallb-system
└── [s] traefik

docker-registry and gitsrv do have a pvc mounted managed by csi-driver-nfs,
i must have been overworked at the moment this presented itself to me as a problem,
because i should use csi-driver-nfs outside of the staging namespace.

my bad! thank you for your time

wibed commented

indeed. but i wouldnt be exposed to the user friendlyness of a collective namespace such as
hnc provides.

wibed commented

i too came to the conclusion that guidance would be the most one could do at this point.

if it demands privileged it should be in a parent namespace or something like that.