Pre-Requisites
Install Docker for Desktop v2.3.0.5 for your OS
Windows:
- Docker for Desktop 2.3.0.5 https://desktop.docker.com/win/stable/48029/Docker%20Desktop%20Installer.exe
Setup Environment
MacOS:
Download kfctl for your OS:
$ wget https://github.com/kubeflow/kfctl/releases/download/v1.2.0/kfctl_v1.2.0-0-gbc038f9_darwin.tar.gz $ tar xvfz kfctl_v1.2.0-0-gbc038f9_darwin.tar.gz
Add kfctl to your path
$ mkdir ~/bin $ mv ./kfctl ~/bin/ $ export PATH=$PATH:~/bin
Windows
The easiest to have access to kubectl and kfctl on windows it to run a Linux container that has the kfctl and kubectl utilities already installed.
To start a bash shell with the two CLI’s available, just execute:
> docker run -it --rm -v C:\Users\<USER>\.kube:/root/.kube vikramfusionapplied/kfctl:v1.0.2 bash
You may want to wrap this command in a bat file for ease of use.
Install Kubeflow
Perform the following step from terminal on the Mac and from the bash shell of the docker container on Windows.
Check Version of kfctl
$ kfctl version kfctl v1.2.0-0-gbc038f9
Install KubeFlow (Windows in bash. ie. $ bash)
$ mkdir temp $ cd temp $ kfctl apply -f https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_k8s_istio.v1.2.0.yaml -V
This could take a while... up to 30 minutes.
References
Reference | URL |
---|---|
How to use Docker Desktop for Mac or Windows to run Kubeflow | https://morioh.com/p/7c45a5df9034 |
Kubeflow: How to Install and Launch Kubeflow on your Local Machine | https://towardsdatascience.com/kubeflow-how-to-install-and-launch-kubeflow-on-your-local-machine-e0d7b4f7508f |