apiVersion: apps/v1 kind: Deployment metadata: name: radarr namespace: default labels: app: radarr spec: replicas: 1 selector: matchLabels: app: radarr template: metadata: labels: app: radarr spec: containers: - name: radarr image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3 imagePullPolicy: IfNotPresent env: - name: PUID value: "1000" - name: PGID value: "1000" - name: TZ value: America/New_York resources: requests: memory: "256Mi" cpu: "300m" limits: memory: "750Mi" cpu: "500" volumeMounts: - mountPath: /config name: radarr-config - mountPath: /data name: nas volumes: - name: nas nfs: path: /mnt/thePool/thePoolShare server: 10.0.0.10 - name: radarr-config persistentVolumeClaim: claimName: radarr-config --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: radarr-config namespace: default spec: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi storageClassName: longhorn --- apiVersion: v1 kind: Service metadata: name: headless-radarr namespace: default spec: selector: app: radarr ports: - port: 7878 targetPort: 7878 protocol: TCP type: ClusterIP --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: radarr namespace: default annotations: kubernetes.io/ingress.class: traefik-external spec: entryPoints: - websecure routes: - match: Host(`radarr.local.mafyuh.com`) kind: Rule services: - name: headless-radarr port: 7878 middlewares: - name: default-headers tls: secretName: local-mafyuh-com-production-tls