--- apiVersion: apps/v1 kind: Deployment metadata: name: rtorrent-readarr namespace: servarr spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/created-by: tyil app.kubernetes.io/managed-by: manual app.kubernetes.io/name: rtorrent-readarr app.kubernetes.io/part-of: servarr template: metadata: labels: app.kubernetes.io/created-by: tyil app.kubernetes.io/managed-by: manual app.kubernetes.io/name: rtorrent-readarr app.kubernetes.io/part-of: servarr spec: containers: - name: rtorrent image: tyil/rtorrent:latest ports: - containerPort: 5000 volumeMounts: - name: config subPath: rtorrent.rc mountPath: /root/.rtorrent.rc - name: session mountPath: /session - name: downloads mountPath: /mnt/media/books/source-rtorrent - name: rutorrent image: tyil/rutorrent:latest ports: - containerPort: 8080 env: - name: RPC_ENDPOINT value: "/RPC2" - name: RPC_HOST value: "127.0.0.1" - name: RPC_PORT value: "5000" volumes: - name: config configMap: name: rtorrent-readarr - name: downloads hostPath: type: Directory path: /mnt/media/books/source-rtorrent - name: session hostPath: type: Directory path: /srv/servarr/readarr/rtorrent-session ...