dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Allow hiding "All namespaces" in namespaces dropdown list

Open chri4774 opened this issue 1 year ago • 4 comments

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 avatar Apr 09 '24 10:04 chri4774

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-triage-robot avatar Jul 08 '24 10:07 k8s-triage-robot

Hi, can I contribute to this?

sephialaureenciaa avatar Aug 06 '24 16:08 sephialaureenciaa

/remove-lifecycle stale

chri4774 avatar Sep 04 '24 14:09 chri4774

/assign

avanish23 avatar Oct 17 '24 09:10 avanish23