apiVersion: v1
kind: Service
metadata:
  labels:
    app: redis
    chart: redis-12.10.1
    heritage: Helm
    release: RELEASE-NAME
  name: RELEASE-NAME-redis-headless
  namespace: default
spec:
  clusterIP: None
  ports:
  - name: tcp-redis
    port: 6379
    targetPort: redis
  selector:
    app: redis
    release: RELEASE-NAME
  type: ClusterIP
