apiVersion: v1
kind: Service
metadata:
  labels:
    app: prometheus
    chart: prometheus-15.8.5
    component: server
    heritage: Helm
    release: RELEASE-NAME
  name: RELEASE-NAME-prometheus-server
  namespace: default
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 9090
  selector:
    app: prometheus
    component: server
    release: RELEASE-NAME
  sessionAffinity: None
  type: ClusterIP
