apiVersion: v1
kind: Service
metadata:
  name: prometheus-ip-service
  namespace: tfg-proale
  # namespace: monitoring
  annotations:
      prometheus.io/scrape: 'true'
      prometheus.io/path:   /metrics
      prometheus.io/port:   '9090'

spec:
  selector:
    app: prometheus-server
  type: NodePort
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: 9090
