tautulli.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ---
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: tautulli
  6. namespace: plex
  7. spec:
  8. strategy:
  9. type: Recreate
  10. selector:
  11. matchLabels:
  12. app: tautulli
  13. replicas: 1
  14. template:
  15. metadata:
  16. labels:
  17. app: tautulli
  18. spec:
  19. containers:
  20. - name: tautulli
  21. image: linuxserver/tautulli:2.14.4
  22. ports:
  23. - containerPort: 8181
  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: tautulli-pvc
  39. ---
  40. apiVersion: v1
  41. kind: Service
  42. metadata:
  43. name: tautulli-service
  44. namespace: plex
  45. spec:
  46. selector:
  47. app: tautulli
  48. type: ClusterIP
  49. ports:
  50. - name: tautulli-web-port
  51. protocol: TCP
  52. port: 8181
  53. targetPort: http-web-svc
  54. ---
  55. apiVersion: traefik.containo.us/v1alpha1
  56. kind: IngressRoute
  57. metadata:
  58. name: tautulli
  59. namespace: plex
  60. spec:
  61. entryPoints:
  62. - websecure
  63. routes:
  64. - kind: Rule
  65. match: Host(`tautulli.lan.jibby.org`)
  66. services:
  67. - kind: Service
  68. name: tautulli-service
  69. port: 8181
  70. middlewares:
  71. - name: lanonly
  72. namespace: kube-system