Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended minikube setup #502

Closed
jlewi opened this issue Mar 26, 2018 · 7 comments · Fixed by #944
Closed

Recommended minikube setup #502

jlewi opened this issue Mar 26, 2018 · 7 comments · Fixed by #944

Comments

@jlewi
Copy link
Contributor

jlewi commented Mar 26, 2018

Users have reported running into trouble with minikube because their nodes end up being too small and other issues.

We should document some recommended settings for minikube based on what's needed to run some of our E2E examples and our E2E tests (see kubeflow/testing#6)

@jlewi
Copy link
Contributor Author

jlewi commented Apr 2, 2018

/assign @aronchick

@willingc
Copy link
Contributor

willingc commented Apr 9, 2018

FYI Minikube installs with no difficulty.

Specifying the basic settings for memory and storage in VirtualBox would be helpful. Alternatively, a minimal notebook environment (similar to jupyter/docker-stacks minimal notebook stack) w/o Tensorflow would allow loading even if someone installs with inadequate memory for the larger images.

@jlewi
Copy link
Contributor Author

jlewi commented Jun 5, 2018

Thanks @willingc

I think we should keep the recommended settings in sync with what we use in our E2E tests
https://github.com/kubeflow/kubeflow/blob/master/testing/install_minikube.sh#L36

Although our E2E tests don't actually verify that we can start Jupyter images.

@abhi-g
Copy link
Member

abhi-g commented Jun 6, 2018

On my linux desktop, I am able to get the TensorFlow hello world equivalent working with Minikube setup using:
minikube start --cpus 4 --memory 8096 --disk-size=40g
Note that I also used --vm-driver=kvm2 along with the others.

For someone who just installed Minikube following the instructions on https://kubernetes.io/docs/getting-started-guides/minikube/#installation would have ended up creating a Minikube VM with defaults of 1 CPU and 2GB of memory when testing their hello word app. That VM is unusable for Kubeflow. We can add instructions on our docs to "minikube delete" followed by the minikube start with the recommended settings.

On Mac, I'll be trying with VirtualBox as the hypervisor. Unfortunately my Mac has only 4 cores total :(
Will report how that goes.

@abhi-g
Copy link
Member

abhi-g commented Jun 6, 2018

With less than 4 cpus on minikube vm, Jupyterhub notebook doesn't come up at all.

@jlewi
Copy link
Contributor Author

jlewi commented Jun 7, 2018

This is great. How about capturing this in an initial PR with instructions specific for minikube?

@abhi-g
Copy link
Member

abhi-g commented Jun 7, 2018

Will do.

yanniszark pushed a commit to arrikto/kubeflow that referenced this issue Feb 15, 2021
* refactor(suggestion): Use interface

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* feat(cmd): Add flags to control the fake logic

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* gopkg: Update

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Revert package names

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Use string

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Address comments

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Address comment

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: Fix bug

Signed-off-by: Ce Gao <gaoce@caicloud.io>
elenzio9 pushed a commit to arrikto/kubeflow that referenced this issue Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants