apiVersion: v1
kind: Service
metadata:
  name: timescaledb-svc
  namespace: monitoring
spec:
  ports:
  - name: postgres
    protocol: TCP
    port: 5432
    targetPort: 5432
  type: NodePort
  selector:
    app: timescaledb
