First Commit

This commit is contained in:
Corrado Mulas
2026-07-23 12:09:41 +02:00
parent 22a5ad862b
commit a407903a8d
24 changed files with 3163 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "redis-cluster.fullname" . }}-headless
namespace: {{ .Release.Namespace }}
labels:
{{- include "redis-cluster.labels" . | nindent 4 }}
spec:
clusterIP: None
# Pods must resolve each other during bootstrap, before they are Ready.
publishNotReadyAddresses: true
selector:
{{- include "redis-cluster.selectorLabels" . | nindent 4 }}
ports:
- name: tcp-redis
port: {{ .Values.redis.port }}
targetPort: tcp-redis
appProtocol: redis
- name: tcp-cluster
port: {{ .Values.cluster.busPort }}
targetPort: tcp-cluster
appProtocol: redis