diff --git a/test/e2e/client/kubeclient.go b/test/e2e/client/kubeclient.go index 2220c7d9f..8d0622a9a 100644 --- a/test/e2e/client/kubeclient.go +++ b/test/e2e/client/kubeclient.go @@ -511,13 +511,16 @@ func (client *KubeClient) GetLatestNode() (*v1.Node, error) { if _, exclude := node.Labels[service.LabelNodeExcludeBalancer]; exclude { continue } - + if _, isVK := node.Labels[service.LabelNodeTypeVK]; isVK { + continue + } if ret.Name == "" { ret = node } else if ret.CreationTimestamp.Before(&node.CreationTimestamp) { ret = node } } + klog.Infof("return node:%s", ret.Name) return &ret, nil }