diff --git a/kubernetes/apps/production/searxng/redis-pod.yaml b/kubernetes/apps/production/searxng/redis/redis-pod.yaml similarity index 92% rename from kubernetes/apps/production/searxng/redis-pod.yaml rename to kubernetes/apps/production/searxng/redis/redis-pod.yaml index 0605c21..ea28fea 100644 --- a/kubernetes/apps/production/searxng/redis-pod.yaml +++ b/kubernetes/apps/production/searxng/redis/redis-pod.yaml @@ -9,6 +9,8 @@ spec: - name: redis image: docker.io/valkey/valkey:8-alpine command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"] + ports: + - containerPort: 6379 volumeMounts: - name: redis-data mountPath: /data diff --git a/kubernetes/apps/production/searxng/redis/service.yaml b/kubernetes/apps/production/searxng/redis/service.yaml new file mode 100644 index 0000000..915c929 --- /dev/null +++ b/kubernetes/apps/production/searxng/redis/service.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: searxng-redis + namespace: public-services +spec: + type: ClusterIP + ports: + - port: 6379 + targetPort: 6379 + selector: + app: searxng-redis