installation support for ubuntu 20.04, 22.04 53/10853/1
authorjosephthaliath <jo.thaliath@samsung.com>
Wed, 5 Apr 2023 16:58:15 +0000 (22:28 +0530)
committerjosephthaliath <jo.thaliath@samsung.com>
Wed, 5 Apr 2023 16:59:26 +0000 (22:29 +0530)
Issue-Id: AIMLFW-42

Signed-off-by: josephthaliath <jo.thaliath@samsung.com>
Change-Id: I535d4fa04f316155519ba8c33d64ce43a799aaab

bin/install.sh
bin/install_common_templates_to_helm.sh
bin/install_traininghost.sh
tools/leofs/bin/install_leofs.sh

index c305466..d00133a 100755 (executable)
@@ -76,7 +76,7 @@ COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook"
 
 
 for component in $COMPONENTS; do
-    sudo helm dep up helm/$component
+    helm dep up helm/$component
     echo "Installing $component"
     helm install $component helm/$component -f $OVERRIDEYAML
 done
index 88e8c10..22fec3e 100755 (executable)
@@ -28,7 +28,7 @@ echo ${HELM_REPOSITORY_CACHE}
 curl -LO https://get.helm.sh/chartmuseum-v0.15.0-linux-386.tar.gz
 tar xzvf chartmuseum-v0.15.0-linux-386.tar.gz
 chmod +x ./linux-386/chartmuseum
-cp ./linux-386/chartmuseum /usr/local/bin
+sudo cp ./linux-386/chartmuseum /usr/local/bin
 
 helm servecm --port=8879 --context-path=/charts --storage local --storage-local-rootdir $HELM_REPOSITORY_CACHE/local/ <<EOF &
 yes
index 9c2b072..5207757 100755 (executable)
@@ -31,7 +31,7 @@ tools/nfs/configure_nfs_server.sh localhost
 tools/helm/install_helm.sh
 tools/nfs/install_nfs_subdir_external_provisioner.sh localhost
 
-sudo bin/install_common_templates_to_helm.sh
+bin/install_common_templates_to_helm.sh
 tools/leofs/bin/install_leofs.sh
 tools/kubeflow/bin/install_kubeflow.sh
 kubectl create namespace traininghost
index d02ab1a..5b5703e 100755 (executable)
@@ -22,7 +22,7 @@ head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8 | kubectl create secret generic
 
 docker build -f tools/leofs/Dockerfile.leofs -t leofs .
 
-sudo helm dep up helm/leofs
+helm dep up helm/leofs
 helm install leofs helm/leofs -f RECIPE_EXAMPLE/example_recipe_latest_stable.yaml
 sleep 10
 NAMESPACE=kubeflow