-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple fixes for GPU scripts #922
Conversation
This fixes error running provision-gpu.sh: /bash/bin: bad interpreter: No such file or directory Signed-off-by: manosnoam <[email protected]>
Robot Results
|
The following command fails: oc create -f /tmp/gpu-machineset.json -l gpu-machineset=true Since passing label to the oc create is not supported: error: no objects passed to create Signed-off-by: manosnoam <[email protected]>
Signed-off-by: manosnoam <[email protected]>
Signed-off-by: manosnoam <[email protected]>
Signed-off-by: manosnoam <[email protected]>
Signed-off-by: manosnoam <[email protected]>
set -e | ||
|
||
# Check if existing machineset with for GPU already exists | ||
EXISTING_GPU_MACHINESET="$(oc get machineset -A -o jsonpath='{.items[?(@.metadata.labels.gpu-machineset=="true")].metadata.name}')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would personally opt to use the openshift annotation for GPU nodes as it'd be more robust than a custom label we apply, but either way works
…ge") Signed-off-by: manosnoam <[email protected]>
Signed-off-by: manosnoam <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
In provision-gpu.sh:
In gpu_deploy.sh: