-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add periodic check for metric client health #2355
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2355 +/- ##
=========================================
- Coverage 58.97% 58.9% -0.07%
=========================================
Files 594 594
Lines 12757 12767 +10
=========================================
- Hits 7523 7520 -3
- Misses 5041 5055 +14
+ Partials 193 192 -1
Continue to review full report at Codecov.
|
@floreks BTW: there was request from core to replace flags with config map |
We can not replace them as Dashboard has to work also outside of the cluster. We could only add support for ConfigMap. |
The main complain about params is that:
I guess it could be as a configuration file outside of kubernetes and a config map inside. If you interessted I might be able to dig out some pointers (issues) |
@floreks Another important reason was that add-on-manager cannot hanlde params properly - just config maps |
Updating params stored in ConfigMap and updating Dashboard is basically the same (requires similar steps). With ConfigMap:
Updating Dashboard:
Using To support this k8s "native" way we'd need to completely redesign the way we read and handle params. Currently they are read only once during Dashboard start and can not be updated without restarting Dashboard. IMO that's ok since they are not changed often. Once you set it and start Dashboard it will run without changes for a long time. PS. Personally I have never seen any complaints about how we handle params support in Dashboard. |
@floreks Eventually, we might want t consider and align us with core concepts. But, I agree currently not so relavant for Dashboard. BTW: I assume it would be possible to avoid the restart with some effort using config map or config file |
@floreks my dashboard rc1 does not show display metrics. Kubernetes runs on Raspberry pi 4 arm with metrix arm |
Resolves #2306 and resolves #2251.
Added new flag
metric-client-check-period
that defines how often health check against configured metric client will be run. By default it is set to 30 seconds.