- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for podKeys (0.79 sec)
-
pkg/controller/volume/ephemeral/controller_test.go
expectedMetrics: expectedMetrics{1, 0}, }, { name: "no-such-pod", podKey: podKey(testPodWithEphemeral), }, { name: "pod-deleted", pods: func() []*v1.Pod { deleted := metav1.Now() pods := []*v1.Pod{testPodWithEphemeral.DeepCopy()} pods[0].DeletionTimestamp = &deleted return pods }(), podKey: podKey(testPodWithEphemeral), }, { name: "no-volumes",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller.go
return nil } logger.V(5).Info("Error getting pod from informer", "pod", klog.KObj(pod), "podUID", pod.UID, "err", err) return err } // Ignore pods which are already getting deleted. if pod.DeletionTimestamp != nil { logger.V(5).Info("Ephemeral: nothing to do for pod, it is marked for deletion", "podKey", key) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0) -
tools/bug-report/pkg/filter/filter.go
return false } if !match.MatchesGlobs(container, sp.Containers) { return false } if !match.MatchesGlobs(container, sp.Containers) { return false } key := cluster2.PodKey(namespace, pod) if !match.MatchesMap(sp.Labels, cluster.Labels[key]) { return false } if !match.MatchesMap(sp.Annotations, cluster.Annotations[key]) { return false } return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 3.9K bytes - Viewed (0)