mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Fix up the walkthrough
This fixes up a couple of typos in the walkthrough and updates it to mention config and the Prometheus Operator. It probably eventually needs to be further modified with more specific instructions about the Prometheus Operator.
This commit is contained in:
parent
0fa468ac87
commit
fb8a0c50b3
4 changed files with 85 additions and 297 deletions
|
|
@ -4,12 +4,15 @@ Example Deployment
|
|||
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`. These are the serving certificates used
|
||||
by the adapter for serving HTTPS traffic. 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 namespace custom-metrics` to ensure the namespace we choose to install the custom metrics adapter in.
|
||||
3. `kubectl create namespace custom-metrics` to ensure that the namespace that we're installing
|
||||
the custom metrics adapter in exists.
|
||||
|
||||
4. `kubectl create -f manifests/`, modifying as necessary to
|
||||
point to your prometheus server.
|
||||
4. `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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue