Skip to content

Commit dcd089b

Browse files
Merge pull request #2540 from yevgeny-shnaidman/yevgeny/rename-pciname-modelname
MGMT-19498:Fixing the configmap data fields
2 parents b035a85 + e410547 commit dcd089b

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

assets/node-exporter/accelerators-collector-configmap.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ apiVersion: v1
22
data:
33
config.yaml: |-
44
- "models":
5-
- "pciID": "0x20b5"
6-
"pciName": "A100"
7-
- "pciID": "0x2230"
8-
"pciName": "RTX_A6000"
9-
- "pciID": "0x2717"
10-
"pciName": "RTX_4090"
11-
- "pciID": "0x2235"
12-
"pciName": "A40"
13-
- "pciID": "0x1df5"
14-
"pciName": "V100"
15-
- "pciID": "0x20f1"
16-
"pciName": "A100 40G"
17-
- "pciID": "0x1ff2"
18-
"pciName": "T400 4GB"
19-
- "pciID": "0x1eb8"
20-
"pciName": "Tesla T4"
5+
- "modelName": "A100"
6+
"pciID": "0x20b5"
7+
- "modelName": "RTX_A6000"
8+
"pciID": "0x2230"
9+
- "modelName": "RTX_4090"
10+
"pciID": "0x2717"
11+
- "modelName": "A40"
12+
"pciID": "0x2235"
13+
- "modelName": "V100"
14+
"pciID": "0x1df5"
15+
- "modelName": "A100 40G"
16+
"pciID": "0x20f1"
17+
- "modelName": "T400 4GB"
18+
"pciID": "0x1ff2"
19+
- "modelName": "Tesla T4"
20+
"pciID": "0x1eb8"
2121
"vendorID": "0x10de"
2222
"vendorName": "NVIDIA"
2323
kind: ConfigMap

jsonnet/components/node-exporter.libsonnet

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ local acceleratorsConfigData = [
1212
vendorName: 'NVIDIA',
1313
vendorID: '0x10de',
1414
models: [
15-
{ pciID: '0x20b5', pciName: 'A100' },
16-
{ pciID: '0x2230', pciName: 'RTX_A6000' },
17-
{ pciID: '0x2717', pciName: 'RTX_4090' },
18-
{ pciID: '0x2235', pciName: 'A40' },
19-
{ pciID: '0x1df5', pciName: 'V100' },
20-
{ pciID: '0x20f1', pciName: 'A100 40G' },
21-
{ pciID: '0x1ff2', pciName: 'T400 4GB' },
22-
{ pciID: '0x1eb8', pciName: 'Tesla T4' },
15+
{ pciID: '0x20b5', modelName: 'A100' },
16+
{ pciID: '0x2230', modelName: 'RTX_A6000' },
17+
{ pciID: '0x2717', modelName: 'RTX_4090' },
18+
{ pciID: '0x2235', modelName: 'A40' },
19+
{ pciID: '0x1df5', modelName: 'V100' },
20+
{ pciID: '0x20f1', modelName: 'A100 40G' },
21+
{ pciID: '0x1ff2', modelName: 'T400 4GB' },
22+
{ pciID: '0x1eb8', modelName: 'Tesla T4' },
2323
],
2424
},
2525
];

0 commit comments

Comments
 (0)