- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for devicesToReuse (0.17 sec)
-
pkg/kubelet/cm/devicemanager/manager.go
m.setPodPendingAdmission(pod) if _, ok := m.devicesToReuse[string(pod.UID)]; !ok { m.devicesToReuse[string(pod.UID)] = make(map[string]sets.Set[string]) } // If pod entries to m.devicesToReuse other than the current pod exist, delete them. for podUID := range m.devicesToReuse { if podUID != string(pod.UID) { delete(m.devicesToReuse, podUID) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/topology_hints.go
continue } // Get the list of available devices, for which TopologyHints should be generated. available := m.getAvailableDevices(resource) reusable := m.devicesToReuse[string(pod.UID)][resource] if available.Union(reusable).Len() < requested {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 9.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
unhealthyDevices: make(map[string]sets.Set[string]), allocatedDevices: make(map[string]sets.Set[string]), endpoints: make(map[string]endpointInfo), podDevices: newPodDevices(), devicesToReuse: make(PodReusableDevices), topologyAffinityStore: topologymanager.NewFakeManager(), activePods: activePods, sourcesReady: &sourcesReadyStub{}, checkpointManager: ckm,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0)