truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.16k stars 615 forks source link

[prowlarr] Arr chart deployments with Exportarr pod can fail on multi worker node clusters #25130

Closed Joker9944 closed 3 months ago

Joker9944 commented 3 months ago

chart Name

prowlarr

Operating System

Talos-OS 1.7

Deployment Method

FluxCD

Chart Version

18.3.1

Kubernetes Events

Multi-Attach error for volume "pvc-f0ab4d06-e65b-414b-a6e8-de141a856aa9" Volume is already used by pod(s) prowlarr-exportarr-7fbbdb6cb4-szqgg, prowlarr-74f6bc4fbb-pb4tk

chartlication Logs

container is stuck in waiting state

Chart Configuration

    podOptions:
      nodeSelector: null
    persistence:
      config:
        size: 5Gi
        volsync:
          - name: prowlarr
            type: restic
            credentials: pvc
            dest:
              enabled: true
            src:
              enabled: true
      media:
        enabled: true
        type: nfs
        server: <redacted>
        path: /mnt/chronos/media-data
        mountPath: /mnt/media-data
    ingress:
      main:
        enabled: true
        hosts:
          - host: <redacted>
            paths:
              - path: /
                pathType: Prefix
        integrations:
          traefik:
            middlewares:
              - name: internal-whitelist
                namespace: network-system
        tls:
          - hosts:
              - <redacted>
            secretName: <redacted>

Describe the bug

Prowlarr helm chart and other Arrs implementing a exportarr pod can fail when deployed on a multi node cluster when the pods are provisioned on different nodes. This is because both mount the config PVC which is in ReadWriteOnce accessModes by default which only allows mounting on the same node.

To Reproduce

  1. Deploy Prowlarr on a cluster with multiple worker nodes.

Expected Behavior

Exportarr as sidecar container instead of standalone pod. or ReadWriteMany as default accessModes for config PVC

Screenshots

N/A

Additional Context

N/A

I've read and agree with the following

Joker9944 commented 3 months ago

As this affects not only prowlarr but radarr, sonarr, sabnzbd, bazarr, lidarr charts as well should I create a bug for each or keep this issue for all of them?

truecharts-admin commented 1 month ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists