https://rancher.com/ logo
Title
s

salmon-hair-21488

04/14/2023, 9:59 AM
Hello, how to disable generating these namespaces? It happens automaticaly when you create a new project or a new user is added AFAIK.
👍 1
t

tall-translator-73410

04/14/2023, 10:04 AM
Hi ! I'm also interested in this answer 🙂 Auto-created namespaces make
k get ns
list hardly readable in cli, even with few users/projects.
👍 2
f

full-painter-23916

04/14/2023, 10:13 AM
You don't… they store resources related to each p(roject) or u(ser) and namespaces are the only reasonable mechanism to do RBAC for that. (And beyond toy installations, Rancher is mostly meant to be the only thing running in the cluster it's installed in, which would limit reasons to be seeing them)
s

salmon-hair-21488

04/14/2023, 10:16 AM
Thanks for the explanation
t

tall-translator-73410

04/14/2023, 10:36 AM
Thanks @full-painter-23916 for the info, even if Rancher is the only one installed on the cluster, there is of course a bunch of apps also deployed that we have to manage (cert-manager, ingress-controller, logs-shipper, monitoring, etc.)