Replies: 4 comments
-
Sorry where is Disabling metrics is a pretty big change to Dozzle. It would require complex changes to multiple components that I won't have time to do. You are the first person to ask for this feature though. If a lot of k8s users need this feature then perhaps I or someone can work on it. |
Beta Was this translation helpful? Give feedback.
-
You’re absolutely right — I made a mistake assuming DOZZLE_METRICS=false already exists. My intention was to suggest adding a new option (e.g., DOZZLE_DISABLE_METRICS=true) to make metrics integration optional. This would help users in clusters where Metrics Server is not installed (e.g., minimal setups), avoiding: Forced dependencies on metrics.k8s.io. |
Beta Was this translation helpful? Give feedback.
-
Great. Currently, the documentation states that metrics is required. However, if more people use Kubernetes, I will revisit this issue to broaden the support. |
Beta Was this translation helpful? Give feedback.
-
I haven't seen many other people request this. I am going to change the title and move to discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you would like to see
Add an option to fully disable metrics-related functionality in Dozzle for Kubernetes clusters where Metrics Server is not installed or required.
Description:
Currently, Dozzle tries to access Kubernetes metrics by default even when Metrics Server is not present. This causes unnecessary errors and forces users to grant extra permissions.
Describe how you would like to see this feature implemented
The current behavior forces users to:
Install Metrics Server even if metrics are not needed.
Add RBAC permissions for metrics.k8s.io or nodes.
Deal with startup errors related to missing metrics.
Proposed Solution:
Add a new environment variable like DOZZLE_DISABLE_METRICS=true to completely skip metrics-related code, including:
No attempts to connect to metrics.k8s.io.
No background checks for metrics.
No need for metrics-related RBAC rules.
Example Configuration:
env:
value: "k8s"
value: "false"
Describe any alternatives you've considered
No response
Beta Was this translation helpful? Give feedback.
All reactions