Hey,
We have Rancher (version 2.8.5) installed inside our AWS EKS cluster, and it has been running smoothly. User authentication is handled via Azure AD, allowing anyone in the specified Azure AD group to log into the cluster without issues.
However, we’ve noticed that Rancher creates a namespace for each user (e.g., user-XXXX) whenever they log in. Deleting these namespaces does not prevent them from being recreated. We’re unsure of the purpose of these namespaces and would like to disable this behavior unless it’s essential for Rancher’s functionality.
In my previous experience with an on-premise Rancher installation, I did not observe this behavior, although I don’t recall the exact version used.
Additionally, we are seeing similar behavior with project namespaces (e.g., p-XXXX). These namespaces also reappear after being manually deleted, and we are unclear on their necessity since both the cluster and Rancher seem to function correctly without them.
Any insights or guidance on how to disable the automatic creation of these namespaces would be greatly appreciated.
Thanks!