apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: cassandra
    helm.sh/chart: cassandra-9.1.5
  name: RELEASE-NAME-cassandra-headless
  namespace: default
spec:
  clusterIP: None
  ports:
  - name: intra
    port: 7000
    targetPort: intra
  - name: tls
    port: 7001
    targetPort: tls
  - name: jmx
    port: 7199
    targetPort: jmx
  - name: cql
    port: 9042
    targetPort: cql
  publishNotReadyAddresses: true
  selector:
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/name: cassandra
