mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Add RBAC and API Aggregation rules to example manifest
This commit is contained in:
parent
365c8fb112
commit
98a6cd5bce
2 changed files with 134 additions and 23 deletions
|
|
@ -1,17 +1,13 @@
|
|||
Example Deployment
|
||||
==================
|
||||
|
||||
1. Make sure you've built the included Dockerfile with `make
|
||||
docker-build`. The image should be tagged as `cm-adapter:latest`.
|
||||
1. Make sure you've built the included Dockerfile with `make docker-build`. The image should be tagged as `directxman12/k8s-prometheus-adapter:latest`.
|
||||
|
||||
2. Create a secret called `cm-adapter-serving-certs` with two values:
|
||||
`serving.crt` and `serving.key`. For more information on how to
|
||||
`serving.crt` and `serving.key`. For more information on how to
|
||||
generate these certificates, see the [auth concepts
|
||||
documentation](https://github.com/kubernetes-incubator/apiserver-builder/blob/master/docs/concepts/auth.md)
|
||||
in the apiserver-builder repository.
|
||||
|
||||
3. `kubectl create -f example-deployment.yaml`, modifying as necessary to
|
||||
point to your prometheus server.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue