Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	if err := s.livezRegistry.addDelayedHealthChecks(livezGracePeriod, checks...); err != nil {
    		return err
    	}
    	return s.readyzRegistry.addHealthChecks(checks...)
    }
    
    // AddReadyzChecks allows you to add a HealthCheck to readyz.
    func (s *GenericAPIServer) AddReadyzChecks(checks ...healthz.HealthChecker) error {
    	return s.readyzRegistry.addHealthChecks(checks...)
    }
    
    // AddLivezChecks allows you to add a HealthCheck to livez.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/config.go

    	c.LivezChecks = append(c.LivezChecks, healthChecks...)
    	c.ReadyzChecks = append(c.ReadyzChecks, healthChecks...)
    }
    
    // AddReadyzChecks adds a health check to our config to be exposed by the readyz endpoint
    // of our configured apiserver.
    func (c *Config) AddReadyzChecks(healthChecks ...healthz.HealthChecker) {
    	c.ReadyzChecks = append(c.ReadyzChecks, healthChecks...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    		return healthCheck()
    	}))
    
    	readyCheck, err := storagefactory.CreateReadyCheck(s.StorageConfig, c.DrainedNotify())
    	if err != nil {
    		return err
    	}
    	c.AddReadyzChecks(healthz.NamedCheck("etcd-readiness", func(r *http.Request) error {
    		return readyCheck()
    	}))
    
    	return nil
    }
    
    type StorageFactoryRestOptionsFactory struct {
    	Options        EtcdOptions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 15:02:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top