Skip to content
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

[FR] Having different PV for each tool #26

Closed
InputObject2 opened this issue Jun 7, 2022 · 6 comments · Fixed by #28
Closed

[FR] Having different PV for each tool #26

InputObject2 opened this issue Jun 7, 2022 · 6 comments · Fixed by #28
Assignees

Comments

@InputObject2
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When using the current setup, all the tools are configured directly with the same persistent volume, where the media, configs and apparently sqlite databases are created. This causes issues for some storage backends that might not be well suited to run databases, such as NFS or SMB shares.

Describe the solution you'd like
I'd like to add a specific PV/PVC for each tool, in addition to the main "media" PV where all the movies and shows are stored.

Describe alternatives you've considered
There is already the additional PV field under spec.general.storage.volumes but this is not really helpful to set specific mounts on specific tools.

Additional context
Jackett, transmission, plex and sabnzbd seem to work as they all just rely on flat files, while sonarr and radarr run sqlite instances and rely on those.

I'm opening this issue for the discussion, I'll bring the changes (or at least the way I see them) in a PR if we define a good retro-compatible way to do this.

@freakadell
Copy link

Any progress on this? Ive been playing around and not yet sure how to accomplish this as im really noob at this.
But here are couple of ideas i am trying:
Set up local volume on specific node and schedule Sonarr/Raddar on this node.
Longhorn StorageClass on specific node and schedule services on that node.
While keeping media on NFS.

Currently my biggest knowledge cap is how to apply changes in *-resources.yml files.

For now im unable to get Sonarr/Radarr running while conf is on NFS. Manages to do it only once.

@InputObject2
Copy link
Contributor Author

I didn't start, in fact I completely forgot about it. I have some ideas, I'll make a PR soon-ish with the changes, should be pretty straightforward.

@freakadell
Copy link

@kubealex any chance of reviewing/approving this?

@kubealex
Copy link
Owner

Thanks a lot @InputObject2! Sorry for the late reply but I didn't have the chance to test it.
Expect a merge in the next hours or so 👍👍

@kubealex
Copy link
Owner

@InputObject2 did you have the chance to review the PR comments I made?

@kubealex
Copy link
Owner

Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants