You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/06/27 20:30:06 UTC
[GitHub] apcheamitru commented on issue #230: Zookeeper fails to start after
restarting docker and/or minikube
apcheamitru commented on issue #230: Zookeeper fails to start after restarting docker and/or minikube
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/230#issuecomment-400818564
In addition to #231, shouldn't persistent-volumes.yml should be updated? The host path for both persistent volumes is pointing to /data/pv-zookeeper-01/.
<pre>
[root@localhost ~]# cd incubator-openwhisk-deploy-kube/kubernetes/cluster-setup/
[root@localhost cluster-setup]# grep -A1 hostPath: persistent-volumes.yml
hostPath:
path: /data/pv-apigateway-01/
--
hostPath:
path: /data/pv-couchdb-01/
--
hostPath:
path: /data/pv-kafka-01/
--
hostPath:
path: /data/pv-zookeeper-01/
--
hostPath:
path: /data/pv-zookeeper-01/
</pre>
Suggested fix:
<pre>
@@ -116,7 +116,7 @@
capacity:
storage: 1Gi
hostPath:
- path: /data/pv-zookeeper-01/
+ path: /data/pv-zookeeper-01/data/
---
apiVersion: v1
kind: PersistentVolumeClaim
@@ -148,7 +148,7 @@
capacity:
storage: 1Gi
hostPath:
- path: /data/pv-zookeeper-01/
+ path: /data/pv-zookeeper-01/datalog/
---
apiVersion: v1
kind: PersistentVolumeClaim
</pre>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services