install kubeflow in on-prem
Jun 7, 2021
최소사양
prerequisite
nvidia-device-plugin 설치(nvidia-gpu-plugin)
kubernetes cluster
nvidia-docker2
docker
https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
export KF_NAME=handson-kubeflow
export BASE_DIR=/home/${USER}
export KF_DIR=${BASE_DIR}/${KF_NAME}export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_istio_dex.v1.2.0.yaml"mkdir -p ${KF_DIR}
cd ${KF_DIR}cp kfctl /usr/local/bin/
kfctl build -V -f ${CONFIG_URI}export CONFI_FILE=${KF_DIR}/kfctl_istio_dex.v1.0.0.yaml
kfctl apply -V -f ${CONFIG_FILE}kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v0.13.1/cert-manager.yamlkubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.13.1/cert-manager-no-webhook.yaml