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

devsmall has "pod has unbound immediate PersistentVolumeClaims" on Docker Desktop? #319

Open
kenyee opened this issue May 21, 2020 · 0 comments

Comments

@kenyee
Copy link

kenyee commented May 21, 2020

Anyone see this issue on Docker Desktop Mac?
Warning FailedScheduling default-scheduler pod has unbound immediate PersistentVolumeClaims
Looking at the logs, the Kafka can't get to /var/lib and then I looked at the yaml and found out it wanted a drive size of 200GB (only 80GB on docker desktop so not enough space).

I only want to fire up Kafka for test development which doesn't really need persistent storage (don't care if data is not saved when I shut off the containers), so I also tried running
kubectl apply -k github.com/Yolean/kubernetes-kafka/variants/scale-1-ephemeral
but then zookeeper can't get to it's drive, but it looked like the zookeeper yaml only wants 1GB of space.

[2020-05-21 21:51:08,233] ERROR Unable to access datadir, exiting abnormally (org.apache.zookeeper.server.ZooKeeperServerMain)

org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Unable to create snap directory /var/lib/zookeeper/data/version-2

at org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:147)

at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:124)

at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:106)

at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:64)

at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:128)

at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)

Unable to access datadir, exiting abnormally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant