-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support metrics-server in cloud #1735
Conversation
/CC @kadisi |
a7933a0
to
d3c9356
Compare
/lgtm thanks @Poor12 please add release notes |
Added release-note. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fisherxu 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 |
@Poor12 Thanks :) |
What type of PR is this?
/kind feature
What this PR does / why we need it:
By multiplexing the cloudstream and edgestream tunnels, the /stats/summary on the edge can be exposed to the metrics-server on the cloud. By setting --kubelet-port = 10350, metrics-server can capture the monitoring data of the edge node.
Which issue(s) this PR fixes:
Fixes #1561
Special notes for your reviewer:
The metrics-server 0.3.x is not yet compatible with kubeedge. If you need to use this feature urgently, you can download the metrics-sever source code and remake the image through the "make container" command. By using the flag --kubelet-use-node-status-port and hostNetwork: true, metrics-server can run normally on kubeedge,ref https://github.com/kubernetes-sigs/metrics-server.
The most important point is that the cloudstream and edgestream modules must be turned on.