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

add nfs mount type #43

Open
lknite opened this issue Nov 9, 2024 · 1 comment
Open

add nfs mount type #43

lknite opened this issue Nov 9, 2024 · 1 comment

Comments

@lknite
Copy link

lknite commented Nov 9, 2024

Recently I installed 'radarr' and 'sonarr' via the truechart helm chart.

Check out this magic:

  persistence:
    sabnzbd-data:
      enabled: true
      type: nfs
      path: /nfs/sabnzbd
      server: 10.0.0.11
      mountPath: /app-sabnzbd
    tower-data:
      enabled: true
      type: nfs
      path: /nfs/media
      server: 10.0.0.11
      mountPath: /data-tower

This resulted in two nfs mounts without any pvcs.

Perhaps something similar could be implemented with jellyfin? It is interesting how it works without a pvc using the built in nfs type.

Reference helm chart:
https://github.com/truecharts/public/tree/master/charts/stable/radarr

They use a common library:
https://github.com/truecharts/public/blob/master/charts/library/common/values.yaml

@Supporterino
Copy link
Contributor

Do I understand correctly that you want to use bare NFS for the two predefined persistence configurations? This seems like an edge case, as you could use volumes and volumeMounts to mount an NFS share to Jellyfin. I strongly recommend not using a common library in this chart, as it isn't particularly complex and there aren't any other charts to share a common library with, which would introduce unnecessary complexity.

In your case, you should be able to disable the built-in persistence of the chart and map your desired NFS shares using the volumes and volumeMounts keys to the required locations.

The more typical use case for NFS in Kubernetes is to use a CSI interface like democratic-csi to provision your PVC on an NFS share/server.

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

No branches or pull requests

2 participants