Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.27 KB

install-kubeflow-1.3

on a macbook. Taken from the kubeflow/manifests README.

Use kzenv to switch to kustomize 3.2.0 !

brew tap nlamirault/kzenv https://github.com/nlamirault/kzenv/
# remove "normal" kustomize
brew remove kustomize
brew install kzenv
kzenv install 3.2.0
kzenv use 3.2.0
kustomize version

Then use the following commands to install Kubeflow to minikube.

# tag of the Kubeflow version
VERSION=v1.3-branch && \
minikube start --driver=hyperkit --addons=ingress,metrics-server --memory=14g --cpus=8 --disk-size='30000mb' && \
git clone https://github.com/kubeflow/manifests.git && \
cd manifests && \
git checkout $VERSION && \
while ! kustomize build --load_restrictor=none example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done && \
sleep 600 && \
kubectl port-forward svc/istio-ingressgateway -n istio-system 8080:80

Some things take up to 1 hour to work.-.. so be patient.

In my case it was the second service, but you maybe need to try it out.

Login on http://127.0.0.1:8080(or something else, see above) using user:12341234.

Tear down:

minikube delete
cd ..
rm -rf manifests