Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 44714ae

Browse files
authored
Merge pull request #14 from sunya-ch/kepler-integration
change config path to match kepler exporter
2 parents 2a56ab1 + d26614c commit 44714ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deploy/patch.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
name: estimator
3333
volumeMounts:
3434
- name: cfm
35-
mountPath: /etc/config
35+
mountPath: /etc/kepler/kepler.config
3636
readOnly: true
3737
- mountPath: /tmp
3838
name: tmp

deploy/test-jobs-with-init.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- mountPath: /tmp
2323
name: tmp
2424
- name: cfm
25-
mountPath: /etc/config
25+
mountPath: /etc/kepler/kepler.config
2626
readOnly: true
2727
command: ["python3", "src/estimator_test.py"]
2828
restartPolicy: Never

deploy/test-jobs-with-server.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
- mountPath: /tmp
3131
name: tmp
3232
- name: cfm
33-
mountPath: /etc/config
33+
mountPath: /etc/kepler/kepler.config
3434
readOnly: true
3535
command: ["python3", "src/estimator_test.py"]
3636
restartPolicy: Never

src/util/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# must be writable (for shared volume mount)
1818
MNT_PATH = "/mnt"
1919
# can be read only (for configmap mount)
20-
CONFIG_PATH = "/etc/config"
20+
CONFIG_PATH = "/etc/kepler/kepler.config"
2121

2222
modelItemNameMap = {
2323
"Abs": "NODE_TOTAL",

0 commit comments

Comments
 (0)