File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -413,11 +413,6 @@ func (s *Server) InstallDefaultHandlers() {
413
413
checkers = append (checkers , s .extendedCheckers ... )
414
414
healthz .InstallHandler (s .restfulCont , checkers ... )
415
415
416
- if utilfeature .DefaultFeatureGate .Enabled (zpagesfeatures .ComponentStatusz ) {
417
- s .addMetricsBucketMatcher ("statusz" )
418
- statusz .Install (s .restfulCont , ComponentKubelet , statusz .NewRegistry ())
419
- }
420
-
421
416
slis.SLIMetricsWithReset {}.Install (s .restfulCont )
422
417
423
418
s .addMetricsBucketMatcher ("pods" )
@@ -579,6 +574,11 @@ func (s *Server) InstallDebuggingHandlers() {
579
574
s .addMetricsBucketMatcher ("configz" )
580
575
configz .InstallHandler (s .restfulCont )
581
576
577
+ if utilfeature .DefaultFeatureGate .Enabled (zpagesfeatures .ComponentStatusz ) {
578
+ s .addMetricsBucketMatcher ("statusz" )
579
+ statusz .Install (s .restfulCont , ComponentKubelet , statusz .NewRegistry ())
580
+ }
581
+
582
582
// The /runningpods endpoint is used for testing only.
583
583
s .addMetricsBucketMatcher ("runningpods" )
584
584
ws = new (restful.WebService )
You can’t perform that action at this time.
0 commit comments