apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: redis-cluster
    helm.sh/chart: redis-cluster-7.2.1
  name: RELEASE-NAME-redis-cluster-headless
  namespace: default
spec:
  clusterIP: None
  ports:
  - name: tcp-redis
    port: 6379
    targetPort: tcp-redis
  - name: tcp-redis-bus
    port: 16379
    targetPort: tcp-redis-bus
  publishNotReadyAddresses: true
  selector:
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/name: redis-cluster
  type: ClusterIP
