- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getContainersToDeleteInPod (0.56 sec)
-
pkg/kubelet/pod_container_deletor.go
containersToKeep: containersToKeep, } } // getContainersToDeleteInPod returns the exited containers in a pod whose name matches the name inferred from filterContainerId (if not empty), ordered by the creation time from the latest to the earliest. // If filterContainerID is empty, all dead containers in the pod are returned.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 4K bytes - Viewed (0) -
pkg/kubelet/pod_container_deletor_test.go
}, { 2, []*kubecontainer.Status{pod.ContainerStatuses[1]}, }, } for _, test := range testCases { candidates := getContainersToDeleteInPod("4", &pod, test.containersToKeep) if !reflect.DeepEqual(candidates, test.expectedContainersToDelete) { t.Errorf("expected %v got %v", test.expectedContainersToDelete, candidates) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 19 15:48:08 UTC 2020 - 5.8K bytes - Viewed (0)