Merge pull request #238 from LiliC/fix-replacment

manifests/node-exporter-serviceMonitor.yaml: Fix typo
This commit is contained in:
Frederic Branczyk
2019-09-25 09:12:27 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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',
}, },

View File

@@ -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