git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/tps/kubeflow-adapter"
git clone "https://gerrit.o-ran-sc.org/r/portal/aiml-dashboard"
git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/aihp/ips/kserve-adapter"
+git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice"
docker build -f tm/Dockerfile -t tm tm/.
docker build -f data-extraction/Dockerfile -t data-extraction data-extraction/.
docker build -f aiml-dashboard/Dockerfile -t aiml-dashboard aiml-dashboard/.
docker build -f aiml-dashboard/kf-pipelines/Dockerfile -t aiml-notebook aiml-dashboard/kf-pipelines/.
docker build -f kserve-adapter/Dockerfile -t kserve-adapter:1.0.0 kserve-adapter/.
+docker build -f modelmgmtservice/Dockerfile -t modelmgmtservice:1.0.0 modelmgmtservice/.
cd -
rm -Rf /tmp/gerrit_code
docker rmi aiml-dashboard
docker rmi aiml-notebook
docker rmi kserve-adapter:1.0.0
+docker rmi modelmgmtservice:1.0.0
exit 1
fi
-COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook"
+COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook modelmgmtservice"
for component in $COMPONENTS; do
helm dep up helm/$component
tools/leofs/bin/install_leofs.sh
tools/kubeflow/bin/install_kubeflow.sh
kubectl create namespace traininghost
+#copy of secrets to traininghost namespace to enable modelmanagement service to access leofs
+kubectl get secret leofs-secret --namespace=kubeflow -o yaml | sed -e 's/kubeflow/traininghost/g' | kubectl apply -f -
bin/install_rolebindings.sh
bin/install_databases.sh
#
# ==================================================================================
-COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook"
+COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook modelmgmtservice"
for component in $COMPONENTS; do
echo "Uninstalling $component"