Skip to content

Instantly share code, notes, and snippets.

@chrisedrego
Created August 1, 2020 13:12
Show Gist options
  • Save chrisedrego/014c7f6c6050164edd4ecde7c3996031 to your computer and use it in GitHub Desktop.
Save chrisedrego/014c7f6c6050164edd4ecde7c3996031 to your computer and use it in GitHub Desktop.
kube-state-metrics-prometheus.yaml
global:
scrape_interval: 30s
scrape_configs:
- job_name: kube-state-metrics
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- kube-state-metrics.kube-system.svc.cluster.local:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment