@@ -422,24 +422,26 @@ kueue-setup:
422
422
bash scripts/setup-kueue-resources.sh
423
423
# RHOAI/ODH related resources installation
424
424
425
+ # Basic Usage
426
+ # all-in-one will create all resources necessary to create GPU enabled ML workloads via OpenShift AI
427
+ # Users have the choice between installing RHOAI and ODH
428
+ # For RHOAI use `make all-in-one` and to remove all of the operators run `make delete-all-in-one`
429
+ # For ODH use `make all-in-one -e USE_RHOAI=false` and to remove all of the operators run `make delete-all-in-one -e USE_RHOAI=false`
430
+
425
431
# #@ all-in-one
426
432
.PHONY : all-in-one
427
433
all-in-one :
428
434
@echo -e " \n ==> Installing Everything needed for distributed AI platform on OpenShift cluster \n"
429
- -make delete-nfd-operator
430
- -make delete-ai-platform-operator
431
- -make delete-nvidia-operator
432
435
-make install-nfd-operator
433
436
-make install-ai-platform-operator
434
437
-make install-nvidia-operator
435
438
436
439
.PHONY : delete-all-in-one
437
440
delete-all-in-one :
438
441
@echo -e " \n ==> Removing Everything needed for distributed AI platform on OpenShift cluster \n"
439
- -make delete-rhoai
440
442
-make delete-nfd-operator
441
- -make delete-nvidia-operator
442
443
-make delete-ai-platform-operator
444
+ -make delete-nvidia-operator
443
445
444
446
# #@ general
445
447
.PHONY : delete-ai-platform-operator
@@ -460,15 +462,15 @@ endif
460
462
461
463
.PHONY : delete-rhoai-operator
462
464
delete-rhoai-operator : # # Delete RHOAI Operator
463
- @echo -e " \n==> Deleting OpenShift AI Operator \n"
465
+ @echo -e " \n ==> Deleting OpenShift AI Operator \n"
464
466
-kubectl delete subscription rhods-operator -n redhat-ods-operator
465
467
-export CLUSTER_SERVICE_VERSION=` kubectl get clusterserviceversion -n redhat-ods-operator -l operators.coreos.com/rhods-operator.redhat-ods-operator -o custom-columns=:metadata.name` ; \
466
468
kubectl delete clusterserviceversion $$ CLUSTER_SERVICE_VERSION -n redhat-ods-operator
467
469
kubectl delete namespace redhat-ods-operator
468
470
469
471
.PHONY : install-rhoai-operator
470
472
install-rhoai-operator : # # Install RHOAI Operator
471
- @echo -e " \n==> Installing OpenShift AI Operator \n"
473
+ @echo -e " \n ==> Installing OpenShift AI Operator \n"
472
474
-kubectl create ns redhat-ods-operator
473
475
kubectl create -f contrib/configuration/rhoai/rhoai-operator-subscription.yaml
474
476
@echo Waiting for rhoai-operator Subscription to be ready
0 commit comments