Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unhealthyDevices (0.33 sec)

  1. pkg/kubelet/cm/devicemanager/manager.go

    		healthyDevices = m.healthyDevices[resourceName]
    		m.healthyDevices[resourceName] = sets.New[string]()
    	}
    	if _, ok := m.unhealthyDevices[resourceName]; !ok {
    		m.unhealthyDevices[resourceName] = sets.New[string]()
    	}
    	m.unhealthyDevices[resourceName] = m.unhealthyDevices[resourceName].Union(healthyDevices)
    }
    
    // GetCapacity is expected to be called when Kubelet updates its node status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    	val, ok := capacity[v1.ResourceName(resourceName2)]
    	as.True(ok)
    	as.Equal(int64(3), val.Value())
    	as.NotContains(testManager.healthyDevices, resourceName1)
    	as.NotContains(testManager.unhealthyDevices, resourceName1)
    	as.NotContains(testManager.endpoints, resourceName1)
    	as.Equal(1, len(testManager.endpoints))
    
    	// Stops resourceName2 endpoint. Verifies its stopTime is set, allocate and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top