initial commit

This commit is contained in:
Fishandchips321 2026-04-15 14:07:27 +01:00
commit dc7d39e5f1
12 changed files with 810 additions and 0 deletions

62
Kavita/deployment.yml Normal file
View file

@ -0,0 +1,62 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kavita
spec:
selector:
matchLabels:
app: kavita
template:
metadata:
labels:
app: kavita
spec:
containers:
- name: kavita
image: jvmilazz0/kavita:latest
resources:
limits:
memory: "1Gi"
cpu: "1"
ports:
- containerPort: 5000
name: http
protocol: TCP
volumeMounts:
- name: kavita-config
mountPath: /kavita/config
- name: kavita-data
mountPath: /kavita/library
# readinessProbe:
# httpGet:
# path: /api/health
# port: http
# failureThreshold: 5
# periodSeconds: 10
# livenessProbe:
# httpGet:
# path: /api/health
# port: http
# failureThreshold: 5
# periodSeconds: 10
volumes:
- name: kavita-config
# persistentVolumeClaim:
# claimName: kavita-config
hostPath:
path: /zfs/docker/kavita
- name: kavita-data
hostPath:
path: /mnt/nfs/books
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: kavita-config
spec:
resources:
requests:
storage: 512Mi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce