...
1apiVersion: monitoring.coreos.com/v1
2kind: ServiceMonitor
3metadata:
4 name: node-exporter
5 labels:
6 app: node-exporter
7 app.kubernetes.io/version: 1.5.0
8 namespace: node-exporter
9 annotations:
10 monitoring.edge.ncr.com/allowed-metrics: |
11 node_vmstat_oom_kill
12 node_boot_time_seconds
13 node_cpu_seconds_total
14 node_disk_io_time_seconds_total
15 node_disk_read_bytes_total
16 node_disk_written_bytes_total
17 node_filesystem_avail_bytes
18 node_filesystem_size_bytes
19 node_load1
20 node_load15
21 node_load5
22 node_memory_Buffers_bytes
23 node_memory_Cached_bytes
24 node_memory_MemAvailable_bytes
25 node_memory_MemFree_bytes
26 node_memory_MemTotal_bytes
27 node_network_receive_bytes_total
28 node_network_transmit_bytes_total
29 node_os_info
30 node_os_version
31 node_time_seconds
32 node_cpu_info
33 node_cpu_frequency_max_hertz
34 node_cpu_frequency_min_hertz
35 node_cpu_scaling_frequency_hertz
36 node_cpu_scaling_frequency_max_hertz
37 node_cpu_scaling_frequency_min_hertz
38 node_dmi_info
39 node_uname_info
40 node_network_global_address_info
41 node_logical_cores_total
42 node_physical_cores_total
43 pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
44 pallet.edge.ncr.com/name: node-exporter
45 pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
46 pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
47 pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-o11y'
48 pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
49spec:
50 selector:
51 matchLabels:
52 app: node-exporter
53 app.kubernetes.io/version: 1.5.0
54 endpoints:
55 - port: https
56 bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
57 interval: 60s
58 relabelings:
59 - action: replace
60 regex: (.*)
61 replacement: $1
62 sourceLabels:
63 - __meta_kubernetes_pod_node_name
64 targetLabel: instance
65 - action: replace
66 regex: (.*)
67 replacement: $1
68 sourceLabels:
69 - __meta_kubernetes_pod_node_name
70 targetLabel: node
71 scheme: https
72 tlsConfig:
73 insecureSkipVerify: true
74 jobLabel: app.kubernetes.io/name
View as plain text