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

Option to only show failed tests on Polaris Dashboard #856

Open
adamstrawson opened this issue Sep 28, 2022 · 1 comment
Open

Option to only show failed tests on Polaris Dashboard #856

adamstrawson opened this issue Sep 28, 2022 · 1 comment
Labels
enhancement Adding additional functionality or improvements pinned Prevents stalebot from removing priority: could Future work depending on bandwidth and availability

Comments

@adamstrawson
Copy link

Is your feature request related to a problem? Please describe.

When running Polaris in large clusters, the dashboard only shows a small subset of results.

For example, in one namespace in particular we have 272 resources (based on kubectl get all -n {namespace} | wc -l), whereas Polaris Dashboard only shows 70 of those results.

In the above example, all the 70 checks are green/passing, meaning we're unable to see those that have warnings or failed checks.

Describe the solution you'd like

A few options that come to mind;

  1. Support the use of --only-show-failed-tests on the dashboard, so only the failed checks are displayed.
  2. Allow the end user to customise how many results to show on the dashboard
  3. Support pagination or similar functionality.
@adamstrawson adamstrawson added enhancement Adding additional functionality or improvements triage This bug needs triage labels Sep 28, 2022
@mggude
Copy link
Contributor

mggude commented Nov 17, 2022

Hello! Thanks for bringing this up. We do not believe this is a bug, the command in question (kubectl get all -n {namespace} | wc -l) will you show you more resources than Polaris will audit, for example: pods and replicasets are covered by the higher level pod controllers. That being said, we think showing only failed tests for the dashboard is a great idea. We would be happy to accept a contribution for this feature, would you be open to working on that?

@mggude mggude added pinned Prevents stalebot from removing and removed triage This bug needs triage labels Nov 17, 2022
@mggude mggude changed the title Polaris Dashboard only shows a subset of results Option to only show failed tests on Polaris Dashboard Nov 17, 2022
@mggude mggude added the priority: could Future work depending on bandwidth and availability label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding additional functionality or improvements pinned Prevents stalebot from removing priority: could Future work depending on bandwidth and availability
Projects
None yet
Development

No branches or pull requests

2 participants