apiVersion: monitoring.coreos.com/v1
kind: ThanosRuler
metadata:
  labels:
    app.kubernetes.io/name: thanos-ruler
  name: thanos-ruler
  namespace: default
spec:
  image: quay.io/thanos/thanos:v0.11.2
  queryEndpoints:
  - dnssrv+_http._tcp.thanos-query.default.svc.cluster.local
  ruleSelector:
    matchLabels:
      role: thanos-example
