- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UpdateAllocatedDevices (0.41 sec)
-
pkg/kubelet/apis/podresources/testing/provider_mock.go
} // UpdateAllocatedDevices mocks base method. func (m *MockDevicesProvider) UpdateAllocatedDevices() { m.ctrl.T.Helper() m.ctrl.Call(m, "UpdateAllocatedDevices") } // UpdateAllocatedDevices indicates an expected call of UpdateAllocatedDevices. func (mr *MockDevicesProviderMockRecorder) UpdateAllocatedDevices() *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 10.1K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1_test.go
mockDynamicResourcesProvider.EXPECT().GetDynamicResources(pods[0], &containers[0]).Return(tc.dynamicResources).AnyTimes() mockDevicesProvider.EXPECT().UpdateAllocatedDevices().Return().AnyTimes() mockCPUsProvider.EXPECT().GetAllocatableCPUs().Return([]int64{}).AnyTimes() mockDevicesProvider.EXPECT().GetAllocatableDevices().Return([]*podresourcesapi.ContainerDevices{}).AnyTimes()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/topology_hints.go
// being cleaned before the admission ended m.setPodPendingAdmission(pod) // Garbage collect any stranded device resources before providing TopologyHints m.UpdateAllocatedDevices() // Loop through all device resources and generate TopologyHints for them. deviceHints := make(map[string][]topologymanager.TopologyHint) accumulatedResourceRequests := m.getContainerDeviceRequest(container)
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.go
cp := checkpoint.New(devEntries, registeredDevs) err := m.checkpointManager.GetCheckpoint(kubeletDeviceManagerCheckpoint, cp) return cp, err } // UpdateAllocatedDevices frees any Devices that are bound to terminated pods. func (m *ManagerImpl) UpdateAllocatedDevices() { if !m.sourcesReady.AllReady() { return } m.mutex.Lock() defer m.mutex.Unlock() activeAndAdmittedPods := m.activePods()
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/container_manager_linux.go
} func (cm *containerManagerImpl) ShouldResetExtendedResourceCapacity() bool { return cm.deviceManager.ShouldResetExtendedResourceCapacity() } func (cm *containerManagerImpl) UpdateAllocatedDevices() { cm.deviceManager.UpdateAllocatedDevices() } func containerMemoryFromBlock(blocks []memorymanagerstate.Block) []*podresourcesapi.ContainerMemory { var containerMemories []*podresourcesapi.ContainerMemory
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)