88 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			88 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
plex:
 | 
						|
  controllers:
 | 
						|
    main:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      pod:
 | 
						|
        securityContext:
 | 
						|
          runAsUser: 568
 | 
						|
          runAsGroup: 568
 | 
						|
          fsGroup: 568
 | 
						|
          fsGroupChangePolicy: OnRootMismatch
 | 
						|
          supplementalGroups:
 | 
						|
            - 44
 | 
						|
            - 100
 | 
						|
            - 109
 | 
						|
            - 65539
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/onedr0p/plex
 | 
						|
            tag: 1.41.0.8992-8463ad060
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: TZ
 | 
						|
              value: US/Central
 | 
						|
            - name: ADVERTISE_IP
 | 
						|
              value: https://plex-cl01tl.boreal-beaufort.ts.net:443/
 | 
						|
            - name: ALLOWED_NETWORKS
 | 
						|
              value: 10.0.0.0/8,192.168.1.0/24
 | 
						|
          resources:
 | 
						|
            limits:
 | 
						|
              gpu.intel.com/i915: 1
 | 
						|
              cpu: 5000m
 | 
						|
              memory: 4Gi
 | 
						|
            requests:
 | 
						|
              gpu.intel.com/i915: 1
 | 
						|
              cpu: 100m
 | 
						|
              memory: 1Gi
 | 
						|
  serviceAccount:
 | 
						|
    create: true
 | 
						|
  service:
 | 
						|
    main:
 | 
						|
      controller: main
 | 
						|
      ports:
 | 
						|
        http:
 | 
						|
          port: 32400
 | 
						|
          targetPort: 32400
 | 
						|
          protocol: HTTP
 | 
						|
  ingress:
 | 
						|
    tailscale:
 | 
						|
      enabled: true
 | 
						|
      className: tailscale
 | 
						|
      hosts:
 | 
						|
        - host: plex-cl01tl
 | 
						|
          paths:
 | 
						|
            - path: /
 | 
						|
              pathType: Prefix
 | 
						|
              service:
 | 
						|
                name: plex
 | 
						|
                port: 32400
 | 
						|
      tls:
 | 
						|
        - hosts:
 | 
						|
            - plex-cl01tl
 | 
						|
  persistence:
 | 
						|
    config:
 | 
						|
      existingClaim: plex-config
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /config
 | 
						|
              readOnly: false
 | 
						|
    transcode:
 | 
						|
      type: emptyDir
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /transcode
 | 
						|
              readOnly: false
 | 
						|
    media:
 | 
						|
      existingClaim: plex-nfs-storage
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /mnt/store
 | 
						|
              readOnly: false
 |