apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/component: kubevirt
    app.kubernetes.io/managed-by: virt-operator
    kubevirt.io: ""
    prometheus.kubevirt.io: "true"
  name: kubevirt-prometheus-metrics
  namespace: "{{ namespace }}"
spec:
  ports:
    - name: metrics
      port: 443
      protocol: TCP
      targetPort: metrics
  selector:
    prometheus.kubevirt.io: "true"
  sessionAffinity: None
  type: ClusterIP