aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/redis-deployment.yaml
diff options
context:
space:
mode:
authorJose Fuentes Castillo <j-fuentes@users.noreply.github.com>2024-07-29 06:56:31 +0200
committerGitHub <noreply@github.com>2024-07-28 21:56:31 -0700
commit7ddfcad392abf5b4c2994c03f599d3a22e51ca96 (patch)
tree602b7c1c8bb2d6f93fa99ec14ef713d8e8e6e36d /kubernetes/redis-deployment.yaml
parent1ca951af8919b572ffb5b178a0286f517660ed74 (diff)
downloadkarakeep-7ddfcad392abf5b4c2994c03f599d3a22e51ca96.tar.zst
docs: Add Kubernetes installation with Kustomize (#324)
* Add kubernetes installation * Add kubernetes installation docs * Simplify config * Remove the patch to use only amd64 nodes and add sample env file
Diffstat (limited to 'kubernetes/redis-deployment.yaml')
-rw-r--r--kubernetes/redis-deployment.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/kubernetes/redis-deployment.yaml b/kubernetes/redis-deployment.yaml
new file mode 100644
index 00000000..b9665e15
--- /dev/null
+++ b/kubernetes/redis-deployment.yaml
@@ -0,0 +1,24 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: redis
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: redis
+ template:
+ metadata:
+ labels:
+ app: redis
+ spec:
+ containers:
+ - name: redis
+ image: redis:7.2-alpine
+ volumeMounts:
+ - mountPath: /data
+ name: redis
+ volumes:
+ - name: redis
+ persistentVolumeClaim:
+ claimName: redis-pvc \ No newline at end of file