initial commit
This commit is contained in:
commit
dc7d39e5f1
12 changed files with 810 additions and 0 deletions
62
Kavita/deployment.yml
Normal file
62
Kavita/deployment.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue