-
Notifications
You must be signed in to change notification settings - Fork 241
Kappie
Mathew Merrick edited this page Jun 1, 2023
·
1 revision
Prometheus scrape config:
prometheus:
prometheusSpec:
additionalScrapeConfigs: |
- job_name: "kappie-pods"
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_container_name]
action: keep
regex: kappie(.*)
- source_labels:
[__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
separator: ":"
regex: ([^:]+)(?::\d+)?
target_label: __address__
replacement: ${1}:${2}
action: replace
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: instance
metric_relabel_configs:
- source_labels: [__name__]
action: keep
regex: (.*)
Azure Container Networking