Open zoriya opened 3 months ago
For the immich helm chart, I used the common-library chart from bjw-s as a base, which helped get a chart together much quicker.
Something to consider with the helm chart, would be to be able to spawn transcoders as needed. Rather than 1 container doing all the transcoding, you could create 1 pod per transcode stream.
Rather than 1 container doing all the transcoding, you could create 1 pod per transcode stream.
That may require a Kubernetes operator or for the application to at least be Kubernetes aware and have proper Kubernetes RBAC setup for the app to create transcoding pods. It would be neat but might be outside the scope of this issue.
I'm not particularly familiar with HorizontalPodAutoscaler
s or KEDA, but maybe if one of those was involved scaling could be done without many changes on Kyoo's side?
I do want to support transcoder scaling and distributed transcodes. Not sure what is needed for that, I just finished reading the getting started of k8s x)
Feel free to reach out if you need any help, I joined your discord 😄
Rather than 1 container doing all the transcoding, you could create 1 pod per transcode stream.
That may require a Kubernetes operator or for the application to at least be Kubernetes aware and have proper Kubernetes RBAC setup for the app to create transcoding pods. It would be neat but might be outside the scope of this issue.
For HPA an operator is not required. You can setup auto-scaling based on CPU/RAM metrics, which come out of the box with any modern k8s distribution. Auto-scaling on custom metrics (e.g. a combination of transcoding jobs + queue +
An operator handles way more than autoscaling (e.g. automated DB backups/restore, version upgrades, storage expansion, maintenance tasks, etc.)
I'd be willing to help test this chart and by extension Kyoo itself--I have enough users to put it through home/small event use (10ish users)
Thanks! I started working on it on the feat/helm
branch, but I was focused on something else, so It kinda stalled. An app-template based helm charts has been made by the folks in the home-assistant discord server.
I probably won't continue working on the helm chart soon, If someone wants to upstream the helm chart I'm open for it!
Feature description
Needed steps (to allow every service to scale):