From a1ee340a50d18053bd04c1d872c1cbc211d08490 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Sun, 13 Oct 2024 18:03:46 -0500 Subject: [PATCH] Initial commit --- deploy.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 deploy.yaml diff --git a/deploy.yaml b/deploy.yaml new file mode 100644 index 0000000..f483ee4 --- /dev/null +++ b/deploy.yaml @@ -0,0 +1,38 @@ +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 + serviceAccountName: kavita + volumes: + - name: kavita-config + persistentVolumeClaim: + claimName: nfs-kavita-data + - name: kavita-books + persistentVolumeClaim: + claimName: nfs-kavita-books +