119 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			119 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
radarr-4k:
 | 
						|
  controllers:
 | 
						|
    main:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      pod:
 | 
						|
        securityContext:
 | 
						|
          runAsUser: 1000
 | 
						|
          runAsGroup: 1000
 | 
						|
          fsGroup: 1000
 | 
						|
          fsGroupChangePolicy: OnRootMismatch
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/linuxserver/radarr
 | 
						|
            tag: 5.26.2@sha256:ae89f05ad7023258730ed62f5fcca63aab1e27ee5adcca1edb55d716f7cef356
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: TZ
 | 
						|
              value: US/Central
 | 
						|
            - name: PUID
 | 
						|
              value: 1000
 | 
						|
            - name: PGID
 | 
						|
              value: 1000
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 256Mi
 | 
						|
        metrics:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/onedr0p/exportarr
 | 
						|
            tag: v2.2.0
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          args: ["radarr"]
 | 
						|
          env:
 | 
						|
            - name: URL
 | 
						|
              value: http://localhost
 | 
						|
            - name: CONFIG
 | 
						|
              value: /config/config.xml
 | 
						|
            - name: PORT
 | 
						|
              value: 9793
 | 
						|
            - name: ENABLE_ADDITIONAL_METRICS
 | 
						|
              value: false
 | 
						|
            - name: ENABLE_UNKNOWN_QUEUE_ITEMS
 | 
						|
              value: false
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 10m
 | 
						|
              memory: 128Mi
 | 
						|
  service:
 | 
						|
    main:
 | 
						|
      controller: main
 | 
						|
      ports:
 | 
						|
        http:
 | 
						|
          port: 80
 | 
						|
          targetPort: 7878
 | 
						|
          protocol: HTTP
 | 
						|
        metrics:
 | 
						|
          port: 9793
 | 
						|
          targetPort: 9793
 | 
						|
          protocol: TCP
 | 
						|
  persistence:
 | 
						|
    config:
 | 
						|
      forceRename: radarr-4k-config
 | 
						|
      storageClass: ceph-block
 | 
						|
      accessMode: ReadWriteOnce
 | 
						|
      size: 20Gi
 | 
						|
      retain: true
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /config
 | 
						|
              readOnly: false
 | 
						|
          metrics:
 | 
						|
            - path: /config
 | 
						|
              readOnly: true
 | 
						|
    media:
 | 
						|
      existingClaim: radarr-4k-nfs-storage
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /mnt/store
 | 
						|
              readOnly: false
 | 
						|
postgres-17-cluster:
 | 
						|
  nameOverride: radarr5-4k-postgresql-17
 | 
						|
  mode: standalone
 | 
						|
  cluster:
 | 
						|
    storage:
 | 
						|
      storageClass: local-path
 | 
						|
    walStorage:
 | 
						|
      storageClass: local-path
 | 
						|
    monitoring:
 | 
						|
      enabled: true
 | 
						|
      prometheusRule:
 | 
						|
        enabled: true
 | 
						|
  bootstrap:
 | 
						|
    initdb:
 | 
						|
      database: app
 | 
						|
      owner: app
 | 
						|
      postInitSQL:
 | 
						|
        - CREATE DATABASE "radarr-main" OWNER "app";
 | 
						|
        - CREATE DATABASE "radarr-log" OWNER "app";
 | 
						|
  recovery:
 | 
						|
    method: objectStore
 | 
						|
    objectStore:
 | 
						|
      endpointURL: https://nyc3.digitaloceanspaces.com
 | 
						|
      destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/radarr5-4k/radarr5-4k-postgresql-17-cluster
 | 
						|
      endpointCredentials: radarr-4k-postgresql-17-cluster-backup-secret
 | 
						|
      recoveryIndex: 3
 | 
						|
  backup:
 | 
						|
    enabled: true
 | 
						|
    endpointURL: https://nyc3.digitaloceanspaces.com
 | 
						|
    destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/radarr5-4k/radarr5-4k-postgresql-17-cluster
 | 
						|
    endpointCredentials: radarr-4k-postgresql-17-cluster-backup-secret
 | 
						|
    backupIndex: 3
 | 
						|
    retentionPolicy: "7d"
 |