- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for updatePodContainerResources (0.25 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_manager.go
return err } } if len(podContainerChanges.ContainersToUpdate[rName]) > 0 { if err = m.updatePodContainerResources(pod, rName, podContainerChanges.ContainersToUpdate[rName]); err != nil { klog.ErrorS(err, "updatePodContainerResources failed", "pod", format.Pod(pod), "resource", rName) return err } } if newPodCgLimValue < currPodCgLimValue {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
cpuRequest: tc.apiStatusResources[idx].Requests.Cpu().MilliValue(), }, } containersToUpdate = append(containersToUpdate, cInfo) } fakeRuntime.Called = []string{} err := m.updatePodContainerResources(pod, tc.resourceName, containersToUpdate) assert.NoError(t, err, dsc) if tc.invokeUpdateResources { assert.Contains(t, fakeRuntime.Called, "UpdateContainerResources", dsc) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0)