File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ oc adm policy add-scc-to-group privileged system:authenticated system:serviceacc
67
67
oc adm policy remove-scc-from-group restricted system:authenticated
68
68
oc adm policy remove-scc-from-group anyuid system:cluster-admins
69
69
# Mark the masters and infra nodes as unschedulable so tests ignore them
70
- oc get nodes -o name -l ' role in (infra,master)' | xargs -L1 oc adm cordon
71
- unschedulable=" $( oc get nodes -o name -l ' role in (infra,master)' | wc -l ) "
70
+ oc get nodes -o name -l ' node-role.kubernetes.io/master=true' | xargs -L1 oc adm cordon
71
+ oc get nodes -o name -l ' node-role.kubernetes.io/infra=true' | xargs -L1 oc adm cordon
72
+ unschedulable=" $( ( oc get nodes -o name -l ' node-role.kubernetes.io/master=true' ; oc get nodes -o name -l ' node-role.kubernetes.io/infra=true' ) | wc -l ) "
72
73
# TODO: undo these operations
73
74
74
75
# Execute Kubernetes prerequisites
You can’t perform that action at this time.
0 commit comments