Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ServerHealthy (0.11 sec)

  1. pkg/kubelet/certificate/transport.go

    			now := time.Now()
    			if curr == nil {
    				// the certificate has been deleted from disk or is otherwise corrupt
    				if now.After(lastCertAvailable.Add(exitAfter)) {
    					if clientCertificateManager.ServerHealthy() {
    						klog.ErrorS(nil, "No valid client certificate is found and the server is responsive, exiting.", "lastCertificateAvailabilityTime", lastCertAvailable, "shutdownThreshold", exitAfter)
    						os.Exit(1)
    					} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 13:57:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. pkg/kubelet/certificate/kubelet.go

    func (m *kubeletServerCertificateDynamicFileManager) Stop() {
    	if m.cancelFn != nil {
    		m.cancelFn()
    	}
    }
    
    // ServerHealthy always returns true since the file manager doesn't communicate with any server
    func (m *kubeletServerCertificateDynamicFileManager) ServerHealthy() bool {
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/transport_test.go

    	healthy bool
    }
    
    func (f *fakeManager) SetCertificateSigningRequestClient(certificatesclient.CertificateSigningRequestInterface) error {
    	return nil
    }
    
    func (f *fakeManager) ServerHealthy() bool { return f.healthy }
    
    func (f *fakeManager) Start()                     {}
    func (f *fakeManager) Stop()                      {}
    func (f *fakeManager) RotateCerts() (bool, error) { return false, nil }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 18 08:52:58 UTC 2020
    - 7.8K bytes
    - Viewed (0)
Back to top