munnerz / kube-plex

Scalable Plex Media Server on Kubernetes -- dispatch transcode jobs as pods on your cluster!
Apache License 2.0
1.22k stars 191 forks source link

Feature Request : More customization on Charts from values.yaml #21

Open SebastienTolron opened 6 years ago

SebastienTolron commented 6 years ago

Hi Munnerz !

First of all , really great job on this helm chart. Works like a charm !

I had to make some customizations , and I think It can be pretty good to include them in the base chart.

Here is what would be good I think :

Well this is a lot , and I customized that for my need , but I'm pretty sure people would love this in order to allow more customizations from values.yaml.

I know this can be a lot of work , but let me know what do you think about this , and I can help if needed.

Keep rocking :grinning:

SebastienTolron commented 6 years ago

Also , allowing to use theses nfs with pms-elastic-transcoder. It looking for a PVC class , but when creating file systems it won't work

gandazgul commented 5 years ago

Check out my PR for this: https://github.com/munnerz/kube-plex/pull/51

securityContext and ingress have been added as well since you wrote this.

denebeim commented 4 years ago

I've been digging into the code today. This is not really doable in the current design. The main code here that creates the pod is a static structure. Basically every different storage type, etc would cause a bunch of special case logic. The code here is going to take some major restructuring to make it work. Either it's going to have to introspect the pod and create a new one like it, or be fed a pod configuration in a string and call a parser somewhere. Either of these is beyond me at my current understanding of k8s, but I may go back and visit it when my expertise is better. Is anyone interested in helping me with this? If so mosey on over to my fork and talk at me.

gandazgul commented 4 years ago

I think asking the API for the pod details and creating the other ones with the same settings is the way to go. This way the chart can be customized in almost any way without changing anything else.

denebeim commented 4 years ago

Yes, that's exactly what I was thinking. Either that or just take whatever configuration the plex server is running.