We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e599018 + d47e077 commit 925b388Copy full SHA for 925b388
pkg/descheduler/evictions/utils/utils.go
@@ -62,7 +62,7 @@ func SupportEviction(client clientset.Interface) (string, error) {
62
return "", nil
63
}
64
65
-// HaveEvictAnnotation checks if the pod have evict annotation
+// HaveNoEvictionAnnotation checks if the pod have soft no-eviction annotation
66
func HaveNoEvictionAnnotation(pod *corev1.Pod) bool {
67
_, found := pod.ObjectMeta.Annotations[SoftNoEvictionAnnotationKey]
68
return found
0 commit comments