Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ShouldResetExtendedResourceCapacity (0.26 sec)

  1. pkg/kubelet/cm/container_manager_linux.go

    		containerDynamicResources = append(containerDynamicResources, &containerDynamicResource)
    	}
    	return containerDynamicResources
    }
    
    func (cm *containerManagerImpl) ShouldResetExtendedResourceCapacity() bool {
    	return cm.deviceManager.ShouldResetExtendedResourceCapacity()
    }
    
    func (cm *containerManagerImpl) UpdateAllocatedDevices() {
    	cm.deviceManager.UpdateAllocatedDevices()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    	// Check with the device manager to see if node has been recreated, in which case extended resources should be zeroed until they are available
    	if kl.containerManager.ShouldResetExtendedResourceCapacity() {
    		for k := range node.Status.Capacity {
    			if v1helper.IsExtendedResourceName(k) {
    				klog.InfoS("Zero out resource capacity in existing node", "resourceName", k, "node", klog.KObj(node))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top