Skip to content

Allow metrics cache expiry to be configured #3165

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jacobsalway
Copy link
Contributor

@jacobsalway jacobsalway commented Mar 1, 2025

  • Allow the metrics cache expiry to be configured so it can be set to a lower value if users wish to see the resource metrics e.g. CPU and memory update more frequently
  • Default to 60 seconds so no breaking changes

Example:

k9s:
  metricsCacheExpiry: 30
  ...

closes #2209

@jacobsalway jacobsalway force-pushed the add-metrics-cache-expiry branch from 066ba1d to ba6af92 Compare March 1, 2025 13:16
@jacobsalway jacobsalway marked this pull request as ready for review March 1, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable Pod Resources Used Refresh Rate
1 participant