2024-10-13 18:03:46 -05:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: kavita
|
|
|
|
namespace: kavita
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: kavita
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: kavita
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: kavita
|
|
|
|
image: jvmilazz0/kavita
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: "512Mi"
|
|
|
|
cpu: "500m"
|
|
|
|
ports:
|
|
|
|
- containerPort: 5000
|
|
|
|
name: http
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /kavita/config
|
|
|
|
name: kavita-config
|
|
|
|
- mountPath: /books
|
|
|
|
name: kavita-books
|
2024-10-13 18:12:25 -05:00
|
|
|
serviceAccountName: kavita
|
|
|
|
volumes:
|
|
|
|
- name: kavita-config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: nfs-kavita-config
|
|
|
|
- name: kavita-books
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: nfs-kavita-books
|
2024-10-13 18:03:46 -05:00
|
|
|
|