apiVersion: v1
kind: Service
metadata:
  labels:
    name: influxdb
  name: influxdb
  namespace: kube-system
spec:
  ports:
  - name: http
    port: 8083
    targetPort: 8083
  - name: api
    port: 8086
    targetPort: 8086
  selector:
    name: influxdb
