본문 바로가기
Kubeflow/Install

Kubeflow 1.0 using MiniKF 구성 (Windows 10)

by 여행을 떠나자! 2021. 9. 24.

2020.02.13

 

1. What is MiniKF ?

- A fast and easy way to deploy Kubeflow on your laptop.

- MiniKF = MiniKube + Kubeflow + Arrikto’s Rok Data Management Platform

   https://www.kubeflow.org/docs/other-guides/virtual-dev/getting-started-minikf/

   https://www.arrikto.com/minikf/

   https://www.cncf.io/wp-content/uploads/2019/10/Arrikto-Webinar-Scalable-ML-Workflows-with-Advanced-Data-Management-on-Kubeflow.pdf

   

 

2. MiniKF Version

- MiniKF 설치 문서를 작성한 시점(2.13)의 버전은 ‘v20190918.1.0’이며, 이후 ‘v20200305.1.0’이 릴리즈 되었음

- MiniKF(arrikto/minikf 20200305.1.0)는 Kubeflow 1.0, Rok0.14를 포함하고 있으며, Kubeflow 최신 버전은 1.0.1 임 (3.23 기준)

- MiniKF(arrikto/minikf 20200217.0.0)는 Kubeflow 0.7.1, Rok0.14를 포함하고 있으며, Kubeflow 최신 버전은 1.0 임 (3.5 기준)

- https://app.vagrantup.com/arrikto/boxes/minikf

 

   

3. Requirements for Install

- System requirements

   12GB RAM, 2 CPUs, 50GB disk space

- Operating systems

   Linux, macOS, Windows

- 참고 사항

   macOS (8GB RAM) 환경에서 설치 시 오류 발생 및 재기동 되면서 실패

 

 

4. MiniKF (20190919.1.0) 설치 for Windows 10

- 사전 설치 소프트웨어

   Vargrant 2.2.7, Oracle VituralBox 6.1

- MiniKF (KubeFlow 0.6.2) 설치

C:\Users\AFFINITY6\MiniKF>vagrant init arrikto/minikf
C:\Users\AFFINITY6\MiniKF>vagrant up
==> default: Using C:/Users/AFFINITY6/MiniKF/minikf-user-data.vdi for persistent storage.
==> default: Checking if box 'arrikto/minikf' version '20190918.1.0' is up to date...
...
==> default:     Welcome to MiniKF!
==> default:     Visit http://10.10.10.10/ to get started.
==> default:
C:\Users\AFFINITY6\MiniKF>

- 브라우저에서 http://10.10.10.10로 접속 후 설치 진행

 

 

5. MiniKF 사용하기

- Service 

   KubeFlow : http://10.10.10.10:8080/

   Rok 접속 : http://10.10.10.10:8080/rok

- 계정

   Username: user, Password: 12341234

- ssh 접속

PS C:\Users\AFFINITY6\MiniKF> vagrant ssh
Last login: Mon Sep 30 12:28:34 2019 from 10.0.2.2

Welcome to MiniKF! Type "minikf" to ensure
everything is up and running.
vagrant@minikf:~$

 

 

6. Troubleshooting

- TS #1

   ▷ Problem: VM기동시 EADDRNOTAVAIL 에러

C:\Users\AFFINITY6\MiniKF>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Using C:/Users/AFFINITY6/MiniKF/minikf-user-data.vdi for persistent storage.
...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "3ba9b1ba-0633-4623-9c6a-a19d7ce12737", "--type", "headless"]

Stderr: VBoxManage.exe: error: Call to VidMessageSlotMap failed: Last=0xc000000d/87 (VERR_NEM_VM_CREATE_FAILED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

   ▷ Workaround: Hyper-V 제거 및 재기동

C:\Users\AFFINITY6\MiniKF> DISM /Online /Disable-Feature:Microsoft-Hyper-V-All

'Kubeflow > Install' 카테고리의 다른 글

Kubeflow 1.4.1 in Minikube 구성  (0) 2021.12.30
Kubeflow 1.2 in On-prem 구성  (0) 2021.09.24
Kubeflow 1.2 in Minikube 구성  (0) 2021.09.24
Kubeflow 1.0 in On-prem 구성  (0) 2021.09.24
Kubeflow 1.0 in GCE 구성  (0) 2021.09.24

댓글