Closed sunilkumarmohanty closed 6 years ago
Do you have persistent volumes provisioned ?
usually this type of error is due to the lack of available PV to match the PVC that the kafka and zookeeper need.
but even with those not starting, do note that kubeless http triggers already work because they don't use kafka.
Hi Seboga,
No; I did not create the PV. This is a stupid mistake. Let me work on it and get back.
@sunilkumarmohanty I have same problem. Could you solve it?
@meysam001 you need to have some Persistentvolumes created before so that the PVC for Kafka and Zookeeper can be "met". If you don't want to create PVs, you can use a cluster with dynamic storage provisioning.
Note that even though the two pods are not yet in running state, http triggers do work already.
@meysam001 : I solved the issue using glusterfs. Below links might help https://github.com/heketi/heketi/blob/master/docs/admin/install-kubernetes.md https://blog.lwolf.org/post/how-i-deployed-glusterfs-cluster-to-kubernetes/
Is this a BUG REPORT or FEATURE REQUEST?: This is a question. I am sure it is not a bug.
What happened: Kafka and zookeeper pods are stuck in init stage. On running
kubectl describe pods zoo-0 -n kubeless
, I get the below error messageUnable to mount volumes for pod "zoo-0_kubeless(c256da45-1d5f-11e8-a21a-02ed99f03e73)": timeout expired waiting for volumes to attach/mount for pod "kubeless"/"zoo-0". list of unattached/unmounted volumes=[zookeeper]
Similar error message is received for the kafka pod also
What you expected to happen: Kafka and zookeeper pods to run so that I can test the event driven model.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Kubernetes version (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T12:22:21Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T11:55:20Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Kubeless version (use
kubeless version
):Kubeless version: v0.4.0 (4f4f531)
Cloud provider or physical cluster: Physical cluster. I am running them on vagrant. My configuration is 1 master node and 2 worker nodes.