This is an automated email from the ASF dual-hosted git repository.

csantanapr 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 fd3b507  Document PersistentVolume configuration in 
k8s-docker-for-mac.md (#375)
fd3b507 is described below

commit fd3b507c299f09aeebef3981a9b896398b48d6aa
Author: Ying Chun Guo <[email protected]>
AuthorDate: Thu Nov 29 14:52:18 2018 +0800

    Document PersistentVolume configuration in k8s-docker-for-mac.md (#375)
---
 docs/k8s-docker-for-mac.md | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/docs/k8s-docker-for-mac.md b/docs/k8s-docker-for-mac.md
index 67831c9..ccbcc6f 100644
--- a/docs/k8s-docker-for-mac.md
+++ b/docs/k8s-docker-for-mac.md
@@ -64,6 +64,21 @@ nginx:
   httpsNodePort: 31001
 ```
 
+Since OpenWhisk deployment enables PersistentVolumes by default, you
+should set the defaultStorageClass for your Kubernetes in Docker by adding
+below configuration to mycluster.yaml:
+```yaml
+k8s:
+  persistence:
+    defaultStorageClass: hostpath
+```
+or disable the default persistence by below configuration:
+```yaml
+k8s:
+  persistence:
+    enabled: false
+```
+
 ## Hints and Tips
 
 One nice feature of using Kubernetes in Docker, is that the
@@ -96,4 +111,3 @@ from outside the cluster (with the `wsk` cli) and from 
inside the
 cluster (in `mycluster.yaml`).  Continuing the example from above,
 when setting the `--apihost` for the `wsk` cli, you would use
 `localhost:31001`.
-

Reply via email to