apiVersion: v1
kind: Service
metadata:
  labels:
    prometheus: k8s-system
  name: prometheus-k8s-system
  namespace: kubesphere-monitoring-system
spec:
  clusterIP: None
  ports:
    - name: web
      port: 9090
      targetPort: web
  selector:
    app: prometheus
    prometheus: k8s-system
  sessionAffinity: ClientIP
