We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e04b17 commit 4b3481fCopy full SHA for 4b3481f
pkg/kubelet/server/server.go
@@ -576,7 +576,15 @@ func (s *Server) InstallAuthRequiredHandlers() {
576
577
if utilfeature.DefaultFeatureGate.Enabled(zpagesfeatures.ComponentStatusz) {
578
s.addMetricsBucketMatcher("statusz")
579
- statusz.Install(s.restfulCont, ComponentKubelet, statusz.NewRegistry(compatibility.DefaultBuildEffectiveVersion()))
+ statusz.Install(s.restfulCont, ComponentKubelet, statusz.NewRegistry(
580
+ compatibility.DefaultBuildEffectiveVersion(),
581
+ statusz.WithListedPaths([]string{
582
+ healthz.DefaultHealthzPath,
583
+ metricsPath,
584
+ statsPath,
585
+ podsPath,
586
+ }),
587
+ ))
588
}
589
590
if utilfeature.DefaultFeatureGate.Enabled(zpagesfeatures.ComponentFlagz) {
0 commit comments