-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The standard setup for collecting kubelet metrics, using a service with no selector to point at each node, results in targets without the `__meta_kubernetes_endpoint_node_name` label, instead it includes: ```yaml labels: "__meta_kubernetes_endpointslice_address_target_kind": "Node" "__meta_kubernetes_endpointslice_address_target_name": "mynode" ``` This update handles this situation. Signed-off-by: Tristan Colgate-McFarlane <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters