Merge pull request #238 from LiliC/fix-replacment
manifests/node-exporter-serviceMonitor.yaml: Fix typo
This commit is contained in:
@@ -174,7 +174,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
{
|
{
|
||||||
action: 'replace',
|
action: 'replace',
|
||||||
regex: '(.*)',
|
regex: '(.*)',
|
||||||
replacment: '$1',
|
replacement: '$1',
|
||||||
sourceLabels: ['__meta_kubernetes_pod_node_name'],
|
sourceLabels: ['__meta_kubernetes_pod_node_name'],
|
||||||
targetLabel: 'instance',
|
targetLabel: 'instance',
|
||||||
},
|
},
|
||||||
|
@@ -13,7 +13,7 @@ spec:
|
|||||||
relabelings:
|
relabelings:
|
||||||
- action: replace
|
- action: replace
|
||||||
regex: (.*)
|
regex: (.*)
|
||||||
replacment: $1
|
replacement: $1
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
- __meta_kubernetes_pod_node_name
|
- __meta_kubernetes_pod_node_name
|
||||||
targetLabel: instance
|
targetLabel: instance
|
||||||
|
Reference in New Issue
Block a user