- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for removeContainerAllocatedResources (0.23 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices.go
} } // Removes the device resources allocated to the specified <podUID, contName> from allocatedResources. func (pdev *podDevices) removeContainerAllocatedResources(podUID, contName string, allocatedResources map[string]sets.Set[string]) { pdev.RLock() defer pdev.RUnlock() containers, exists := pdev.devs[podUID] if !exists { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager.go
// from the devicesToReuse. m.podDevices.removeContainerAllocatedResources(string(pod.UID), container.Name, m.devicesToReuse[string(pod.UID)]) } return nil } } if err := m.allocateContainerResources(pod, container, m.devicesToReuse[string(pod.UID)]); err != nil { return err } m.podDevices.removeContainerAllocatedResources(string(pod.UID), container.Name, m.devicesToReuse[string(pod.UID)])
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0)