Skip to content
Snippets Groups Projects
Unverified Commit 93d6101b authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1277 from PaytmLabs/hotfix/eks/cni-relabel

eks: Fix CNI metrics relabelings
parents 4965e45c 3a98a347
No related branches found
No related tags found
No related merge requests found
......@@ -31,15 +31,6 @@
name: 'cni-metrics-port',
port: 61678,
targetPort: 61678,
relabelings: [
{
action: 'replace',
regex: '(.*)',
replacement: '$1',
sourceLabels: ['__meta_kubernetes_pod_node_name'],
targetLabel: 'instance',
},
],
},
],
selector: { 'app.kubernetes.io/name': 'aws-node' },
......@@ -74,6 +65,15 @@
port: 'cni-metrics-port',
interval: '30s',
path: '/metrics',
relabelings: [
{
action: 'replace',
regex: '(.*)',
replacement: '$1',
sourceLabels: ['__meta_kubernetes_pod_node_name'],
targetLabel: 'instance',
},
],
},
],
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment