prowlarr.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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:latest
  22. imagePullPolicy: Always
  23. ports:
  24. - containerPort: 9696
  25. name: http-web-svc
  26. env:
  27. - name: TZ
  28. value: America/New_York
  29. - name: PUID
  30. value: "1000"
  31. - name: PGID
  32. value: "1000"
  33. volumeMounts:
  34. - mountPath: "/config"
  35. name: config
  36. volumes:
  37. - name: config
  38. persistentVolumeClaim:
  39. claimName: prowlarr-pvc
  40. ---
  41. apiVersion: v1
  42. kind: Service
  43. metadata:
  44. name: prowlarr-service
  45. namespace: plex
  46. spec:
  47. selector:
  48. app: prowlarr
  49. type: ClusterIP
  50. ports:
  51. - name: prowlarr-web-port
  52. protocol: TCP
  53. port: 9696
  54. targetPort: http-web-svc
  55. ---
  56. apiVersion: networking.k8s.io/v1
  57. kind: Ingress
  58. metadata:
  59. name: prowlarr
  60. namespace: plex
  61. annotations:
  62. traefik.ingress.kubernetes.io/router.entrypoints: websecure
  63. traefik.ingress.kubernetes.io/router.middlewares: kube-system-lanonly@kubernetescrd
  64. spec:
  65. rules:
  66. - host: prowlarr.lan.jibby.org
  67. http:
  68. paths:
  69. - path: /
  70. pathType: Prefix
  71. backend:
  72. service:
  73. name: prowlarr-service
  74. port:
  75. number: 9696