Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isNodeExcludedFromDisruptionChecks (0.24 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    			logger.Error(err, "Update health of Node from Controller error, Skipping - no pods will be evicted", "node", klog.KObj(node))
    			return
    		}
    
    		// Some nodes may be excluded from disruption checking
    		if !isNodeExcludedFromDisruptionChecks(node) {
    			zoneToNodeConditionsLock.Lock()
    			zoneToNodeConditions[nodetopology.GetZoneKey(node)] = append(zoneToNodeConditions[nodetopology.GetZoneKey(node)], currentReadyCondition)
    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/controller/nodelifecycle/node_lifecycle_controller_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if result := isNodeExcludedFromDisruptionChecks(tt.input); result != tt.want {
    				t.Errorf("isNodeExcludedFromDisruptionChecks() = %v, want %v", result, tt.want)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
Back to top