-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Metrics "Sidecar" (scraping container) support #3504
Conversation
/hold |
/approve cancel |
Codecov Report
@@ Coverage Diff @@
## master #3504 +/- ##
=========================================
+ Coverage 46.57% 47.28% +0.7%
=========================================
Files 173 181 +8
Lines 8066 8389 +323
Branches 59 71 +12
=========================================
+ Hits 3757 3967 +210
- Misses 4079 4178 +99
- Partials 230 244 +14
Continue to review full report at Codecov.
|
I'm not going to block on the gcr.io repo at this point. At this point I'm good moving this into To test, people will have to use 🎉 /hold cancel |
/hold cancel (I can't prow sometimes) |
@maciaszczykm @floreks I think it's time for a review. In this PR I also added a "local" deployment YAML. For reference, here's how I just tested it.
And then viewing the dashboard via kubectl proxy. Let me know if there's anything else needed to dive into this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
Let's wait for @floreks with LGTM.
I wouldn't add this local deployment file to our If we want to keep it then I'd move it maybe to a @jeefy @maciaszczykm WDYT? |
@floreks SGTM. |
Sounds good, I'll update the PR later this morning. |
@jeefy I'm here rooting for you. What a champ you have been with this PR 🙇 |
LGTM, cc @floreks. |
Let's get this in! 🍾 /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floreks, maciaszczykm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @jeefy |
Wow @jeefy you're the boss ! Thanks ! |
Good! |
Thanks so much for this @jeefy! Just to clarify, once a new version is cut (although I note it has been last year since this happened...), this means heapster won't be required anymore and Dashboard will be able to display metrics from metrics-server? |
@tdmalone Correct. Dashboard will (now) deploy two containers, the dashboard itself and the Dashboard Metrics Scraper. Since metrics-server only shows a single moment of time in the cluster, the scraper is needed to poll/store the metrics for look-up. The next thing to tackle is being able to point the Dashboard at Prometheus, but that'll be easier to do after the efforts of our GSOC students (Yay!) Also, we should be cutting an RC at the end of this month, but you can (technically) spin up the Dashboard off the master branch using the kubernetes-dashboard-head.yaml deployment. Just keep in mind, that's literally a build off master, not an actual release, there be dragons there, etc etc. 😄 |
I run the kubernetes dashboard with the manifest https://gist.githubusercontent.com/varuzam/d624547b4286dd11206e1fc0a442f78d/raw/579905246348002b7b9895c60b3ae996de3f664a/kube-dashboard.yaml
It looks like the dashboard uses wrong url with doubled '/api/v1' |
@floreks I run the scraper in the one pod with the dashboard inside a cluster. |
WIP
This is the Dashboard side for using the metrics server. Fixes #2986
head
deploy scripts to include scraping container