Merge pull request #139098 from Jefftree/skip-hostcleanup-no-external-ip

e2e: skip HostCleanup test when worker has no NodeExternalIP
This commit is contained in:
Kubernetes Prow Robot 2026-05-21 10:16:43 +05:30 committed by GitHub
commit e61737540c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,7 @@ func getHostExternalAddress(ctx context.Context, client clientset.Interface, p *
}
}
if externalAddress == "" {
err = fmt.Errorf("No external address for pod %v on node %v",
e2eskipper.Skipf("No NodeExternalIP for pod %v on node %v, test requires SSH-reachable worker nodes",
p.Name, p.Spec.NodeName)
}
return