prowlarr.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ---
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: prowlarr
  6. namespace: plex
  7. spec:
  8. strategy:
  9. type: Recreate
  10. selector:
  11. matchLabels:
  12. app: prowlarr
  13. replicas: 1
  14. template:
  15. metadata:
  16. labels:
  17. app: prowlarr
  18. spec:
  19. containers:
  20. - name: prowlarr
  21. image: lscr.io/linuxserver/prowlarr:nightly-1.21.1.4626-ls25
  22. ports:
  23. - containerPort: 9696
  24. name: http-web-svc
  25. env:
  26. - name: TZ
  27. value: America/New_York
  28. - name: PUID
  29. value: "1000"
  30. - name: PGID
  31. value: "1000"
  32. volumeMounts:
  33. - mountPath: "/config"
  34. name: config
  35. volumes:
  36. - name: config
  37. persistentVolumeClaim:
  38. claimName: prowlarr-pvc
  39. ---
  40. apiVersion: v1
  41. kind: Service
  42. metadata:
  43. name: prowlarr-service
  44. namespace: plex
  45. spec:
  46. selector:
  47. app: prowlarr
  48. type: ClusterIP
  49. ports:
  50. - name: prowlarr-web-port
  51. protocol: TCP
  52. port: 9696
  53. targetPort: http-web-svc
  54. ---
  55. apiVersion: traefik.containo.us/v1alpha1
  56. kind: IngressRoute
  57. metadata:
  58. name: prowlarr
  59. namespace: plex
  60. spec:
  61. entryPoints:
  62. - websecure
  63. routes:
  64. - kind: Rule
  65. match: Host(`prowlarr.lan.jibby.org`)
  66. services:
  67. - kind: Service
  68. name: prowlarr-service
  69. port: 9696
  70. middlewares:
  71. - name: lanonly
  72. namespace: kube-system