Add tautulli
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-11-29 21:28:41 -05:00
parent 069d3b0d24
commit 914164600b
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,44 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: tautulli
namespace: tautulli-ns
spec:
replicas: 1
selector:
matchLabels:
app: tautulli
template:
metadata:
labels:
app: tautulli
spec:
securityContext:
fsGroup: 1000
initContainers:
- name: init-chown
image: apline
command: [ "sh", "-c", "chown -R 1000:1000 /mnt/data" ]
volumeMounts:
- name: tautulli-data
mountPath: "/mnt/data"
containers:
- name: tautulli
image: ghcr.io/tautulli/tautulli
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "America/New_York"
ports:
- containerPort: 8181
volumeMounts:
- name: tautulli-data
mountPath: "/config"
volumes:
- name: tautulli-data
persistentVolumeClaim:
claimName: tautulli-pvc

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: tautulli-pvc
namespace: tautulli-ns
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 1Gi

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: tautulli-service
namespace: tautulli-ns
spec:
selector:
app: tautulli
ports:
- protocol: TCP
port: 80
targetPort: 8181
type: LoadBalancer