mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-23 02:18:47 -04:00
The endpoint-mappings.yaml file specifies which components use which metrics. The case some, but not all core components (kube-controller-manager and kube-scheduler in this case) sharing the same metrics was not supported. This gets fixed by not returning early once the first file path matches. Not all metrics in pkg/controller/resourceclaim/metrics are shared. To make the sharing clearer and fit into the file-path based component support in endpoint-mappings.yaml, the shared metric gets moved to a new pkg/resourceclaim/metrics package. |
||
|---|---|---|
| .. | ||
| config | ||
| metrics | ||
| controller.go | ||
| controller_test.go | ||
| doc.go | ||
| OWNERS | ||
| uid_cache.go | ||