...
https://desktop.docker.com/mac/stable/48029/Docker.dmg
Configure the resources for Docker
You'll want to have at least 4-6 cpus and about 8-16Gb of ram if you can spare it.
Enable Kubernetes
Installation
On Windows
...
On Mac and Windows
Install kfctl kfctl
On Windows
Code Block |
---|
#install kfctl wget https://github.com/kubeflow/kfctl/releases/download/v1.0.2/kfctl_v1.0.2-0-ga476281_linux.tar.gz tar xvfz kfctl_v1.0.2-0-ga476281_linux.tar.gz cp kfctl /usr/local/bin |
On Mac
Code Block |
---|
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
sudo cp kfctl /usr/local/bin/. |
Install Kubeflow
On Windows in Container
Code Block |
---|
#install kubeflow export KF_NAME=kubeflow export BASE_DIR=/opt/ubuntu/ export KF_DIR=${BASE_DIR}/${KF_NAME} export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_k8s_istio.v1.0.2.yaml" mkdir -p ${KF_DIR} cd ${KF_DIR} kfctl apply -V -f ${CONFIG_URI} |
On Mac
Code Block |
---|
#install kubeflow
export KF_NAME=kubeflow
export BASE_DIR=/Users/<USERNAME>/kfctlinstall
export KF_DIR=${BASE_DIR}/${KF_NAME}
export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_k8s_istio.v1.0.2.yaml"
mkdir -p ${KF_DIR}
cd ${KF_DIR}
kfctl apply -V -f ${CONFIG_URI} |
...
Code Block |
---|
$ kubectl get pods --all-namespaces $ kubectl get pods --all-namespaces |grep -v Running |grep -v Completed |wc -l |
**** From a regular windows WINDOWS CMD promptPROMPT (Windows) or teminal (MAC), enable port forwarding:
...
Navigate to http://localhost:8080/
For namespace, type default and click Finish.
References
Reference | URL |
---|---|
Install Kubeflow on a single-node Kubernetes v1.18.2 cluster | https://illya13.github.io/RL/tutorial/2020/05/03/install-kubeflow-on-single-node-kubernetes-v1.18.2.html |
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 |
...