This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git
The following commit(s) were added to refs/heads/master by this push:
new 38c3df5 add macos notes for minikube (#176)
38c3df5 is described below
commit 38c3df5f45a667b44b9ad7893e5ac03a547113f5
Author: Carlos Santana <[email protected]>
AuthorDate: Sun Apr 1 18:05:17 2018 -0400
add macos notes for minikube (#176)
---
docs/setting_up_minikube/README.md | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/docs/setting_up_minikube/README.md
b/docs/setting_up_minikube/README.md
index eb6c330..9ba6b0a 100644
--- a/docs/setting_up_minikube/README.md
+++ b/docs/setting_up_minikube/README.md
@@ -2,6 +2,34 @@
First, download and install Minikube following these
[instructions](https://github.com/kubernetes/minikube).
+## Setup MacOS for local minikube
+We recommend using the same versions we use in Travis, using asdf makes it
very easy to select the version of minikube and kubectl
+
+### Install asdf
+```
+brew install asdf
+```
+### Setup asdf in terminal
+Edit your `~/.profile` or equivalent
+```
+[ -s "/usr/local/opt/asdf/asdf.sh" ] && . /usr/local/opt/asdf/asdf.sh
+```
+
+### Add minikune and kubectl plugins
+```
+asdf plugin-add kubectl
+asdf plugin-add minikube
+```
+
+### Install asdf plugin [email protected] and [email protected]
+```
+asdf install kubectl 1.7.4
+asdf global kubectl 1.7.4
+asdf install minikube 0.23.0
+asdf global minikube 0.23.0
+```
+
+## Create the minikube VM
You will want at least 4GB of memory and 2 CPUs for Minikube to run OpenWhisk.
If you have a larger machine, you may want to provision more (especially more
memory).
@@ -10,6 +38,7 @@ Start Minikube with:
minikube start --cpus 2 --memory 4096 --kubernetes-version=v1.7.4
```
+## Setup Docker network in promiscuous mode
Put the docker network in promiscuous mode.
```
minikube ssh -- sudo ip link set docker0 promisc on
--
To stop receiving notification emails like this one, please contact
[email protected].