Skip to content

Commit 314d904

Browse files
rsienkorahulait
authored andcommitted
Move metrics docs to getting-started sections
1 parent 302d44e commit 314d904

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

docs/getting-started/helm-installation.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ sharedIPLoadBalancing:
3030
loadBalancerType: cilium-bgp
3131
bgpNodeSelector: cilium-bgp-peering=true
3232
ipHolderSuffix: ""
33+
34+
# Optional: Allow /metrics scraping without authorization on secure HTTPS port (10253 by default)
35+
allowUnauthorizedMetrics=true
3336
```
3437

3538
3. Install the CCM:

docs/getting-started/manual-installation.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ resources:
4848
memory: 256Mi
4949
```
5050
51+
### Prometheus metrics
52+
53+
Cloud Controller Manager exposes metrics by default on port given by
54+
`--secure-port` flag. The endpoint is protected from unauthenticated access by
55+
default. To allow unauthenticated clients (`system:anonymous`) access
56+
Prometheus metrics, use `--authorization-always-allow-paths="/metrics"`
57+
command-line flag.
58+
59+
Linode API calls can be monitored using `ccm_linode_client_requests_total` metric.
60+
5161
## Uninstalling
5262

5363
To remove the CCM:

docs/metrics.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)