retrieval: kubernetes nodes are not namespaced
This commit is contained in:
parent
a318d9ad27
commit
cc46058802
|
@ -78,7 +78,7 @@ func (n *Node) Run(ctx context.Context, ch chan<- []*config.TargetGroup) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func nodeSource(n *apiv1.Node) string {
|
func nodeSource(n *apiv1.Node) string {
|
||||||
return "node/" + n.Namespace + "/" + n.Name
|
return "node/" + n.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue