这是indexloc提供的服务,不要输入任何密码
Skip to content

Add GetStatsSummary to PodHandlerConfig #868

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

Merged

Conversation

cpuguy83
Copy link
Contributor

Backports #853


If both the metrics routes and the pod routes are attached to the same
mux with the pattern "/", it will panic. Instead, add the stats handler
function to PodHandlerConfig and set up the route if it is not nil.

If both the metrics routes and the pod routes are attached to the same
mux with the pattern "/", it will panic. Instead, add the stats handler
function to PodHandlerConfig and set up the route if it is not nil.

(cherry picked from commit 56b248c)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 requested a review from ldx July 30, 2020 17:37
@cpuguy83 cpuguy83 merged commit 4e399f9 into virtual-kubelet:release-1.2 Jul 30, 2020
@cpuguy83 cpuguy83 deleted the 1.2_fix_missing_stats_route branch July 30, 2020 21:02
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.

2 participants