apiVersion: v1
kind: Service
metadata:
  labels:
    app: db
  name: db
spec:
  ports:
  - name: rest
    port: 10000
  - name: cql
    port: 9042
  - name: thrift
    port: 9160
  - name: internode
    port: 7000
  - name: sslinternode
    port: 7001
  - name: jmx
    port: 7199
  - name: prometheus
    port: 9180
  - name: nodeexporter
    port: 9100
  selector:
    app: db
