@@ -450,16 +450,20 @@ delete-all-in-one:
450
450
delete-ai-platform-operator :
451
451
ifeq ($(USE_RHOAI ) , true) # # Delete RHOAI Operator
452
452
-make delete-rhoai-operator
453
+ -kubectl delete -f contrib/configuration/accelerator-profile.yaml -n redhat-ods-applications
453
454
else ## Delete Open Data Hub Operator
454
455
-make delete-opendatahub-operator
456
+ -kubectl delete -f contrib/configuration/accelerator-profile.yaml -n opendatahub
455
457
endif
456
458
457
459
.PHONY : install-ai-platform-operator
458
460
install-ai-platform-operator :
459
461
ifeq ($(USE_RHOAI ) , true) # # Delete RHOAI Operator
460
462
-make install-rhoai-operator
463
+ -kubectl apply -f contrib/configuration/accelerator-profile.yaml -n redhat-ods-applications
461
464
else ## Delete Open Data Hub Operator
462
465
-make install-opendatahub-operator
466
+ -kubectl apply -f contrib/configuration/accelerator-profile.yaml -n opendatahub
463
467
endif
464
468
465
469
.PHONY : delete-rhoai-operator
@@ -569,6 +573,7 @@ endif
569
573
.PHONY : delete-nvidia-operator
570
574
delete-nvidia-operator : # # Delete nvidia operator
571
575
@echo -e " \n==> Deleting ClusterPolicy CR \n"
576
+ kubectl delete --ignore-not-found=true NVIDIADriver gpu-driver
572
577
kubectl delete ClusterPolicy --all -n nvidia-gpu-operator
573
578
@while [[ -n $$ (kubectl get ClusterPolicy -n nvidia-gpu-operator) ]]; do echo " ." ; sleep 10; done
574
579
@echo -e " \n==> Deleting nvidia Operator \n"
0 commit comments