Skip to main content

Kubeflow


Installation

  • Minimum system requirements
    • 4 CPU
    • 12 GB memory
    • 50 GB storage
danger

Kubeflow를 HTTP로 노출해야하는 경우, 관련 웹 앱에 대하여 환경변수 APP_SECURE_COOKIESfalse로 설정하여 Secure Cookies feature를 비활성화 해야합니다.

kustomize

wget https://github.com/kubernetes-sigs/kustomize/releases/download/v3.2.0/kustomize_3.2.0_linux_amd64 \
&& sudo chmod 755 kustomize_3.2.0_linux_amd64 \
&& sudo mv kustomize_3.2.0_linux_amd64 /usr/local/bin/kustomize

kubeflow

git clone https://github.com/kubeflow/manifests.git

원하는 버전으로 checkout 한 후, README.md 참고

Nvidia GPU node

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list \
| sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-docker2
/etc/docker/daemon.json
{
...
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
sudo systemctl restart docker
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.9.0/nvidia-device-plugin.yml

Reference