Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InstallReadyzHandler (0.19 sec)

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

    	InstallPathHandler(mux, "/healthz", checks...)
    }
    
    // InstallReadyzHandler registers handlers for health checking on the path
    // "/readyz" 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 InstallReadyzHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/readyz", 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. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    				t.Errorf("getExcludedChecks() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestMetrics(t *testing.T) {
    	mux := http.NewServeMux()
    	InstallHandler(mux)
    	InstallLivezHandler(mux)
    	InstallReadyzHandler(mux)
    	metrics.Register()
    	metrics.Reset()
    
    	paths := []string{"/healthz", "/livez", "/readyz"}
    	for _, path := range paths {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    	pathRecorderMux := mux.NewPathRecorderMux("kube-scheduler")
    	healthz.InstallHandler(pathRecorderMux, healthzChecks...)
    	healthz.InstallLivezHandler(pathRecorderMux)
    	healthz.InstallReadyzHandler(pathRecorderMux, readyzChecks...)
    	installMetricHandler(pathRecorderMux, informers, isLeader)
    	slis.SLIMetricsWithReset{}.Install(pathRecorderMux)
    
    	if config.EnableProfiling {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top