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

Closed
chri4774 opened this issue Apr 9, 2024 · 4 comments · Fixed by #9547
Closed

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

chri4774 opened this issue Apr 9, 2024 · 4 comments · Fixed by #9547
Assignees
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
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 8, 2024
@sephialaureenciaa
Copy link

Hi, can I contribute to this?

@chri4774
Copy link
Author

chri4774 commented Sep 4, 2024

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 4, 2024
@avanish23
Copy link
Contributor

/assign

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

Successfully merging a pull request may close this issue.

6 participants