We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b71c03 commit 393d54fCopy full SHA for 393d54f
internal/k8s/kubernetes.go
@@ -501,8 +501,6 @@ func IsNonEvictible(p *v1.Pod) bool {
501
// a cordoned node since they tolerate the node.kubernetes.io/unschedulable taint.
502
func HasWildcardToleration(p *v1.Pod) bool {
503
for _, t := range p.Spec.Tolerations {
504
- fmt.Println(p.Name, t.Key == "" && t.Operator == v1.TolerationOpExists)
505
- fmt.Println(t)
506
if t.Key == "" && t.Operator == v1.TolerationOpExists {
507
return true
508
}
0 commit comments