Infra/IaC

[k8s] kubeflow install : 진행중

jykim23 2023. 11. 19. 23:05

kustomize : https://kubectl.docs.kubernetes.io/installation/kustomize/binaries/

storageclass : https://forcloud.tistory.com/202

kubeflow : https://github.com/kubeflow/manifests#install-with-a-single-command

 

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

설치 : while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done

삭제 : kustomize build example | kubectl delete -f -

 

 

대시보드 접속 : https://github.com/kubeflow/manifests#port-forward

포트포워딩 : kubectl port-forward --address 0.0.0.0 svc/istio-ingressgateway -n istio-system 8080:80

초기 사용자 : user@example.com / 12341234

접속 확인

 

 

 

특이사항

1. 각 노드의 메모리가 4GB라서 8GB로 증설

2. Storage Class : NFS 적용

3. Nginx Ingress 적용 진행중

백그라운드 포트포워딩(임시) :

nohup kubectl port-forward --address 0.0.0.0 svc/istio-ingressgateway -n istio-system 8080:80 &

 

4. jupyter notebook 생성 실패 : https://github.com/mlops-for-all/mlops-for-all.github.io/issues/72#issuecomment-1656709264

vi apps/jupyter/jupyter-web-app/upstream/base/deployment.yaml

false 설정

저장 후 재배포 : kustomize build apps/jupyter/jupyter-web-app/upstream/overlays/istio | kubectl apply -f -

 

 

5. (진행중)