chore(plex): add tautulli
This commit is contained in:
parent
91f64320f9
commit
ab299533ee
2 changed files with 63 additions and 1 deletions
|
|
@ -4,7 +4,19 @@ metadata:
|
|||
name: plex-config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: tautulli-config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
|
|
|
|||
50
apps/plex/base/tautulli-deployment.yaml
Normal file
50
apps/plex/base/tautulli-deployment.yaml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tautulli
|
||||
labels:
|
||||
app: tautulli
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: tautulli
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
app: tautulli
|
||||
spec:
|
||||
volumes:
|
||||
- name: tautulli-config
|
||||
persistentVolumeClaim:
|
||||
claimName: tautulli-config
|
||||
- name: plex-config
|
||||
persistentVolumeClaim:
|
||||
claimName: plex-config
|
||||
containers:
|
||||
- name: tautulli
|
||||
image: ghcr.io/tautulli/tautulli
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
ports:
|
||||
- containerPort: 8181
|
||||
name: http
|
||||
env:
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: UTC
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: tautulli-config
|
||||
|
||||
- name: plex-config
|
||||
mountPath: /plex-logs
|
||||
subPath: "Plex Media Server/Logs"
|
||||
readOnly: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue