# kube_prometheus_prometheus-frontend-svc.yaml
apiVersion: v1
kind: Service
metadata:
  name: prometheus-frontend
  namespace: default
spec:
  type: NodePort
  ports:
  - name: web
    nodePort: 30100
    port: 9090
    protocol: TCP
    targetPort: web
  selector:
    prometheus: frontend