From 726b3ee544aa9b8d19469e998bd2a16b53c1ed2e Mon Sep 17 00:00:00 2001 From: mr-forust Date: Thu, 10 Sep 2026 23:35:59 +0200 Subject: [PATCH] fix(edu): run redis as statefulset Keep the existing Redis PVC and data while migrating the edu-master workload from Deployment to StatefulSet. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- edu_master/k8s/redis.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edu_master/k8s/redis.yaml b/edu_master/k8s/redis.yaml index b28a938..9034241 100644 --- a/edu_master/k8s/redis.yaml +++ b/edu_master/k8s/redis.yaml @@ -1,11 +1,12 @@ apiVersion: apps/v1 -kind: Deployment +kind: StatefulSet metadata: name: redis namespace: edu-master labels: app: edu-master-redis spec: + serviceName: redis replicas: 1 selector: matchLabels: