Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bdattoma committed Oct 25, 2024
1 parent 58710b2 commit a139b8b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ods_ci/tasks/Resources/Provisioning/GPU/NVIDIA/gpu_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ function rerun_accelerator_migration() {
oc describe AcceleratorProfiles -n redhat-ods-applications
}

# wait_until_pod_ready_status "gpu-operator"
# oc apply -f "$GPU_INSTALL_DIR/../nfd_deploy.yaml"
# oc get csv -n nvidia-gpu-operator "$CSVNAME" -o jsonpath='{.metadata.annotations.alm-examples}' | jq .[0] > clusterpolicy.json
# oc apply -f clusterpolicy.json
# wait_until_pod_ready_status "nvidia-device-plugin-daemonset" 600
# wait_until_pod_ready_status "nvidia-container-toolkit-daemonset"
# wait_until_pod_ready_status "nvidia-dcgm-exporter"
# wait_until_pod_ready_status "gpu-feature-discovery"
# wait_until_pod_ready_status "nvidia-operator-validator"
wait_until_pod_ready_status "gpu-operator"
oc apply -f "$GPU_INSTALL_DIR/../nfd_deploy.yaml"
oc get csv -n nvidia-gpu-operator "$CSVNAME" -o jsonpath='{.metadata.annotations.alm-examples}' | jq .[0] > clusterpolicy.json
oc apply -f clusterpolicy.json
wait_until_pod_ready_status "nvidia-device-plugin-daemonset" 600
wait_until_pod_ready_status "nvidia-container-toolkit-daemonset"
wait_until_pod_ready_status "nvidia-dcgm-exporter"
wait_until_pod_ready_status "gpu-feature-discovery"
wait_until_pod_ready_status "nvidia-operator-validator"
rerun_accelerator_migration

0 comments on commit a139b8b

Please sign in to comment.