kubernetes sevice discovery

28 views
Skip to first unread message

nina guo

unread,
May 17, 2021, 4:17:41 AM5/17/21
to Prometheus Users
I'm going to use a tool Avalanche to generate metrics automatically.


prometheus configmap updated as below, but the pods are unable to be discovered currently. Anything I need  to specify as well?
      - job_name: 'ft-avalanche'
        kubernetes_sd_configs:
            - role: pod
        relabel_configs:
          - source_labels: [_meta_kubernetes_pod_annotation_avalanche_scrape] 
            action: keep
            regex: true

nina guo

unread,
May 17, 2021, 4:18:57 AM5/17/21
to Prometheus Users
Prometheus pods and Avalanche pods are reside in a same k8s cluster.
Reply all
Reply to author
Forward
0 new messages