apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/component: query-layer
    app.kubernetes.io/instance: thanos-query
    app.kubernetes.io/managed-by: karavel
    app.kubernetes.io/name: thanos-query
    app.kubernetes.io/part-of: prometheus
    app.kubernetes.io/version: 0.23.1
    karavel.io/component-name: prometheus
    karavel.io/component-version: 0.1.0-SNAPSHOT
  name: thanos-query
  namespace: monitoring
spec:
  ports:
  - name: grpc
    port: 10901
    targetPort: 10901
  - name: http
    port: 9090
    targetPort: 9090
  selector:
    app.kubernetes.io/component: query-layer
    app.kubernetes.io/instance: thanos-query
    app.kubernetes.io/managed-by: karavel
    app.kubernetes.io/name: thanos-query
    app.kubernetes.io/part-of: prometheus
    karavel.io/component-name: prometheus
