-
Notifications
You must be signed in to change notification settings - Fork 191
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
Kube-plex pod stuck in ContainerCreating status #103
Comments
I have more info , i tried to do it on another namespace , same thing , i did the command:
This is the result i got:
I understood from this that it's because of
If that can help ! |
I succeeded to create a PV and PVC which i did with a new instance (again ..). Now it's on ContainterCreating status. When i did a command to get the events i get :
I followed the tutorial of the link : https://kauri.io/57-selfhost-your-media-center-on-kubernetes-with-p/8ec7c8c6bf4e4cc2a2ed563243998537/a#comments And from there created the PV and PVC.. I don't understand anything. Sorry for all the comments |
@kriefsacha if you do a kubectl get pv and a kubectl get pvc and do you have all pvcs atttached to pvs? |
@gwyden if i do get pv i get :
if i do get pvc -n media i get :
|
@kriefsacha so i see you have a pv called media-ssd and a pvc called the same and the claim is bound but i do not see any other claims for the other volumes Specifically this line leads me to think the pod is asking for more pvcs. Or even the PVC assigned to your data is not the same one that is being claimed for the pvc.
For example here is a kubectl describe pod -n plex from my cluster
I think it is just a matter of your storage is not allocating properly. |
@gwyden thanks for your answer. I didn't know that it's needed a different pvc for the different properties. I'm gonna try that tomorrow. Do we need also multiple PV ? Or one PV and multiple pvc's it's enough |
From what i saw it's not possible to bind multiple PVC's to the same PV so i need also multiple PV's .. Maybe would be good to change that on the docs. Going to try that just right now |
Okay @gwyden i did three PV's and three PVC's. It's been great man thanks to you !! Now it's on status Running and Ready is 1/1. But there is something weird , i created the pod with the command :
But on describe i see :
Which transcode is empty , weird .. |
@kriefsacha how's your plex instance working out after having added those PV/PVC's? I ended up having to edit the |
hi @hectorleiva, could you explain if you changed it from the volume mounts or the env section? |
@justinhodev I basically modified the so
and the Volumes looks like:
as a single entry. This is what is running on my Raspberry Pi Cluster and it seems to work. Not sure how sustainable it is, but that's what I got. |
Don't know if this is related or not but figured id post this here for help. So I am creating a pod with success (status=running, Ready = 1/1 log shows "Starting Plex Media Server") But when I go to my LoadBalancer IP:port, All I see is XML, no server set up page. Solved: Did not realize claim codes were only valid for 4 minutes. I had other issues creating my pod. Solved those issues, had to update claim code. |
Hi, just wanted to thank you.... I spent hours trying to get my deployment to work with an nfs volume and only with your changes I was successful :) |
@hectorleiva I celebrated too soon :D So I Plex now starts and I can see the media in my library, but transcoder pods get stuck for the same reason. What should I change for that to work? Thanks! |
@vitobotta I could never get the transcoder to work in my set-up because I was warned that the Raspberry Pis weren't powerful enough to do the transcoding work that would be required for Plex. I don't even think I've gotten that to work on my Synology NAS DS720+ using the Plex app on there neither. This might be something you could avoid altogether if you are able to play the videos. I've had to manually transcode videos from whatever format to |
Hi,
I'm quite new with this so sorry if i understood something wrong.
I'm on windows with an Ubuntu v20.04 VM.
I succeeded until i run the
which succeeded but when i run
kubectl get po -n plex
I see the pod but in Pending status for 15 hours.
I don't see what i'm missing if someone can help please.
Thank you !!
The text was updated successfully, but these errors were encountered: