Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hiding "All namespaces" in namespaces dropdown list #8894

Open
chri4774 opened this issue Apr 9, 2024 · 0 comments
Open

Allow hiding "All namespaces" in namespaces dropdown list #8894

chri4774 opened this issue Apr 9, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@chri4774
Copy link

chri4774 commented Apr 9, 2024

What would you like to be added?

We would like to be able to globally hide the "All namespaces" list item in the namespace drop-down list. Either through global settings or some other method such as command line arguments.

Why is this needed?

On larger clusters with thousands of pods, selecting "All namespaces" results in huge memory consumption and possible OOMs of the Dashboard API pod. As I've read in other bug reports here, there is no real solution to this problem in the foreseeable future.
For normal users, we've already removed the ability to list resources cluster-wide in k8s so that clicking "All namespaces" doesn't list anything, but this is not a viable option for people who need cluster admin privileges.
Instead of trying to fiddle with dashboard refresh times and pod resource limits, we would like to hide the "All Namespaces" list item altogether. This would eliminate the possibility of someone accidentally clicking on it and triggering an OOM in the dashboard.

@chri4774 chri4774 added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 9, 2024
@chri4774 chri4774 changed the title Allow hiding "All namespaces" in Namspaces dropdown list Allow hiding "All namespaces" in namespaces dropdown list Apr 9, 2024
@floreks floreks added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

2 participants