mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
| .. | ||
| manifests | ||
| README.md | ||
Example Deployment
-
Make sure you've built the included Dockerfile with
TAG=latest make container. The image should be tagged asregistry.k8s.io/prometheus-adapter/staging-prometheus-adapter:latest. -
kubectl create namespace monitoringto ensure that the namespace that we're installing the custom metrics adapter in exists. -
kubectl create -f manifests/, modifying the Deployment as necessary to point to your Prometheus server, and the ConfigMap to contain your desired metrics discovery configuration.