Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pods with GCEPersistentDisk cannot be restarted #6336
Apologies if this is already fixed; I'm managing my cluster purely with
The following replicationcontroller seems to work fine when set up from scratch:
If I replace the persistentDisk with emptyDir, it will work and be restartable, and then I'll be able to recreate the rc and the first pod it creates will schedule fine. Even if I delete the pod and then create it, it fails to schedule; I have to create one with emptyDir in between.
@bprashanth Yep. I am currently running with only one minion, which may be what is making this 100% reproducable (since it always tries to schedule on the one it just left). GKE doesn't let you use separate instance types for master and node, and I don't think it'll let you separate them across zones either.
My current workaround is to mount it on my only minion and use hostPath.