Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addReadyzShutdownCheck (0.27 sec)

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

    	}
    
    	s.installHealthz()
    	s.installLivez()
    
    	// as soon as shutdown is initiated, readiness should start failing
    	readinessStopCh := s.lifecycleSignals.ShutdownInitiated.Signaled()
    	err := s.addReadyzShutdownCheck(readinessStopCh)
    	if err != nil {
    		klog.Errorf("Failed to install readyz shutdown check %s", err)
    	}
    	s.installReadyz()
    
    	return preparedGenericAPIServer{s}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top