Skip to content

[jellyfin] Customizable readiness probe? #80

@onichandame

Description

@onichandame

Is your feature request related to a problem ?

Hi, I am running the jellyfin in a cluster with only 1 GPU available, so I have to scale it to zero when not needed and scale it back from zero when requests come in, so that my other services can take the GPU occasionally. I noticed that the scaling happens really quick after the request is initiated from the client side. But the pod stays in 0/1 Running state for like 10 seconds before it can handle the requests.

image

Having inspected the templates I suspect that the readiness probe's periodSeconds field is in play. So I manually edited the sts manifest to reduce this field to 5, and it takes only around 5s to become ready

image

Reading the logs I realize that the server finishes preparation in 4 seconds, so a 5-second delay of readiness probe makes sense in my case(probably also works in many people's case as my machine is using a very outdated CPU).

image

So what is the best solution in this case? I want to reduce the periodSeconds but I am not sure if it should stay hard coded in the templates or extracted to the values for more flexibility.

Describe the solution you'd like.

  • reduced perioedSeconds in the template

Or

  • customizable probes

Describe alternatives you've considered.

Fork the chart? IDK...

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions