Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InstallHandler (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    	return &healthzCheck{name, check}
    }
    
    // InstallHandler registers handlers for health checking on the path
    // "/healthz" to mux. *All handlers* for mux must be specified in
    // exactly one call to InstallHandler. Calling InstallHandler more
    // than once for the same mux will result in a panic.
    func InstallHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/healthz", checks...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/server.go

    	return handler
    }
    
    func installMetricHandler(pathRecorderMux *mux.PathRecorderMux, informers informers.SharedInformerFactory, isLeader func() bool) {
    	configz.InstallHandler(pathRecorderMux)
    	pathRecorderMux.Handle("/metrics", legacyregistry.HandlerWithReset())
    
    	resourceMetricsHandler := resources.Handler(informers.Core().V1().Pods().Lister())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server.go

    }
    
    // InstallDefaultHandlers registers the default set of supported HTTP request
    // patterns with the restful Container.
    func (s *Server) InstallDefaultHandlers() {
    	s.addMetricsBucketMatcher("healthz")
    	healthz.InstallHandler(s.restfulCont,
    		healthz.PingHealthz,
    		healthz.LogHealthz,
    		healthz.NamedCheck("syncloop", s.syncLoopHealthCheck),
    	)
    
    	slis.SLIMetricsWithReset{}.Install(s.restfulCont)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server.go

    func serveMetrics(bindAddress string, proxyMode kubeproxyconfig.ProxyMode, enableProfiling bool, errCh chan error) {
    	if len(bindAddress) == 0 {
    		return
    	}
    
    	proxyMux := mux.NewPathRecorderMux("kube-proxy")
    	healthz.InstallHandler(proxyMux)
    	slis.SLIMetricsWithReset{}.Install(proxyMux)
    
    	proxyMux.HandleFunc("/proxyMode", func(w http.ResponseWriter, r *http.Request) {
    		w.Header().Set("Content-Type", "text/plain; charset=utf-8")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top