Skip to content

Commit

Permalink
Select only worker nodes (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiripetrlik authored Mar 14, 2024
2 parents ab6dee4 + 6459ff3 commit ac2e7a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Prepare Kueue E2E Test Suite

# Add label instance-type=on-demand on worker node
Log To Console Add label on worker node ...
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector=node-role.kubernetes.io/worker | tail -n1
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector='node-role.kubernetes.io/worker,node-role.kubernetes.io notin (infra)' | tail -n1
Set Suite Variable ${WORKER_NODE} ${output}
${return_code} = Run And Return Rc oc label ${WORKER_NODE} instance-type=on-demand
Should Be Equal As Integers ${return_code} 0 msg=Fail to label worker node with instance-type=on-demand
Expand Down

0 comments on commit ac2e7a7

Please sign in to comment.