argo-workflows
argo-workflows copied to clipboard
fix: nodeAntiAffinity is not working as expected when boundaryID is empty. Fixes: #9193
Fixes #9193
Motivation
The root cause is the workflow's boundaryID is empty. So did't find the retry node to fetch the HostNodeName. So I want to find the retry node and fetch the HostNodeName as the new pod‘s nodeAntiAffinity.
Modifications
Find the correct retrynode when boundaryID is empty.
Verification
e2e tests and ut