forked from FootprintAI/kubeflow-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubeflow.v12.sh
31 lines (24 loc) · 1.07 KB
/
kubeflow.v12.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
# NOTE: this installation is DEPRECATED, please use kubeflow.v13.sh instead.
# and there is no upgradation documentation on kubeflow, as it involved pvc/crd resources.
# so the current suggestion is to backup all data and install new version instead.
# run as root
apt-get update
apt-get install -y wget
# preprare env
KUBEFLOW_ROOT=/root/kubeflow/v1.2
KF_NAME=my-kubeflow
KF_DIR=${KUBEFLOW_ROOT}/${KF_NAME}
mkdir -p $KF_DIR
wget https://github.com/kubeflow/kfctl/releases/download/v1.2.0/kfctl_v1.2.0-0-gbc038f9_linux.tar.gz && \
tar -xzvf kfctl_v1.2.0-0-gbc038f9_linux.tar.gz && \
chmod +x kfctl && \
mv kfctl /usr/local/bin/
cd $KF_DIR && \
mkdir kfctl_k8s_istio.v1.2.0 && \
cd kfctl_k8s_istio.v1.2.0 && \
kfctl apply -V -f https://raw.githubusercontent.com/kubeflow/manifests/master/distributions/kfdef/kfctl_k8s_istio.v1.2.0.yaml
cd $KF_DIR && \
mkdir kfctl_istio_dex.v1.2.0 && \
cd kfctl_istio_dex.v1.2.0 && \
kfctl apply -V -f https://raw.githubusercontent.com/kubeflow/manifests/master/distributions/kfdef/kfctl_istio_dex.v1.2.0.yaml