- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for unprepareResources (0.18 sec)
-
pkg/kubelet/cm/dra/manager.go
} } m.cache.RUnlock() // Loop through all inactive pods and call UnprepareResources on them. for _, podClaims := range inactivePodClaims { if err := m.unprepareResources(podClaims.uid, podClaims.namespace, podClaims.claimNames); err != nil { klog.ErrorS(err, "Unpreparing pod resources in reconcile loop", "podUID", podClaims.uid) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager_test.go
if test.claimInfo != nil { manager.cache.add(test.claimInfo) } err = manager.UnprepareResources(test.pod) assert.Equal(t, test.expectedUnprepareCalls, draServerInfo.server.unprepareResourceCalls.Load()) if test.wantErr { assert.Error(t, err) return // UnprepareResources returned an error so stopping the subtest here } else if test.wantResourceSkipped { assert.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
return cm.draManager.PrepareResources(pod) } func (cm *containerManagerImpl) UnprepareDynamicResources(pod *v1.Pod) error { return cm.draManager.UnprepareResources(pod) } func (cm *containerManagerImpl) PodMightNeedToUnprepareResources(UID types.UID) bool { return cm.draManager.PodMightNeedToUnprepareResources(UID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)