Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nodeHealths (0.2 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	var savedLease *coordv1.Lease
    	if nodeHealth != nil {
    		_, savedCondition = controllerutil.GetNodeCondition(nodeHealth.status, v1.NodeReady)
    		savedLease = nodeHealth.lease
    	}
    	logger := klog.FromContext(ctx)
    	if nodeHealth == nil {
    		logger.Info("Missing timestamp for Node. Assuming now as a timestamp", "node", klog.KObj(node))
    		nodeHealth = &nodeHealthData{
    			status:                   &node.Status,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. pkg/proxy/healthcheck/healthcheck_test.go

    	Service struct {
    		Namespace string
    		Name      string
    	}
    	LocalEndpoints      int
    	ServiceProxyHealthy bool
    }
    
    type healthzPayload struct {
    	LastUpdated string
    	CurrentTime string
    	NodeHealthy bool
    }
    
    type fakeProxierHealthChecker struct {
    	healthy bool
    }
    
    func (fake fakeProxierHealthChecker) IsHealthy() bool {
    	return fake.healthy
    }
    
    func TestServer(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top