mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
| .. | ||
| manifests | ||
| Dockerfile | ||
| README.md | ||
Example Deployment
-
Make sure you've built the included Dockerfile with
make docker-build. The image should be tagged asdirectxman12/k8s-prometheus-adapter:latest. -
Create a secret called
cm-adapter-serving-certswith two values:serving.crtandserving.key. For more information on how to generate these certificates, see the auth concepts documentation in the apiserver-builder repository. -
kubectl create namespace custom-metricsto ensure the namespace we choose to install the custom metrics adapter in. -
kubectl create -f manifests/, modifying as necessary to point to your prometheus server.