apiVersion: v1
kind: Service
metadata:
 labels:
   app: monitoring-prometheus
   component: prometheus
 name: monitoring-prometheus-externalservice
 namespace: kube-system
spec:
 ports:
   - name: https
     port: 8443
     protocol: TCP
     targetPort: 8443
 selector:
   app: monitoring-prometheus
   component: prometheus
 type: "NodePort"
