apiVersion: v1
kind: Service
metadata:
  name: influxdb
  labels:
    service: influxdb
spec:
  selector:
    service: influxdb
  type: ClusterIP
  ports:
    - port: 8083
      name: secondary-port
      protocol: TCP
      targetPort: 8083
    - port: 8086
      name: primary-port
      protocol: TCP
      targetPort: 8086
