Skip to content

Commit

Permalink
docs: update prometheus example to correct port name
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Talbot <[email protected]>
  • Loading branch information
ThatsMrTalbot authored and SgtCoDFish committed Jan 18, 2024
1 parent f0fabf6 commit 25d590b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/devops-tips/prometheus-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/component: "controller"
podMetricsEndpoints:
- port: http
- port: http-metrics
honorLabels: true
```

Expand Down Expand Up @@ -130,7 +130,8 @@ spec:
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/component: "controller"
podMetricsEndpoints:
- port: http
- port: http-metrics
scheme: https
honorLabels: true
# TLS config trusting the CA and specifying the server name
tlsConfig:
Expand Down

0 comments on commit 25d590b

Please sign in to comment.