Skip to main content

Plex Media Server - Volume Mounting

Reference: https://www.plex.tv/blog/plex-pro-week-23-a-z-on-k8s-for-plex-media-server/
Reference: https://github.com/plexinc/pms-docker/tree/master/charts/plex-media-server 

Mounting CIFS Volume to PMS on Kubernetes (values).

rclone:
  # if the rclone sidecar should be created
  enabled: true

  # The name of the secret that contains the rclone configuration file.
  # The key must be called `rclone.conf` in the secret
  configSecret: "plex-rconf"

  # the remote drive that should be mounted using rclone
  # this must be in the form of `name:[/optional/path]`
  # this remote will be mounted at `/data/name` in the PMS container
  remotes: 
    - video:/video

  # if the remote volumes should be mounted as read only
  readOnly: true

rclone.conf must be a secret in the following format (anonymous access):

apiVersion: v1
kind: Secret
metadata:
  name: plex-rconf
type: Opaque
stringData:
  rclone.conf: |
    [video]
    type = smb
    host = 10.10.10.10
    user = guest

Effectivly mounting \\10.10.10.10\video