- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for unprepareResources (0.16 sec)
-
pkg/kubelet/cm/dra/types.go
// PrepareResources prepares resources for a pod. // It communicates with the DRA resource plugin to prepare resources. PrepareResources(pod *v1.Pod) error // UnprepareResources calls NodeUnprepareResource GRPC from DRA plugin to unprepare pod resources UnprepareResources(pod *v1.Pod) error // GetResources gets a ContainerInfo object from the claimInfo cache. // This information is used by the caller to update a container config.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 2.1K bytes - Viewed (0) -
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)