Skip to content

Commit 84bdb3f

Browse files
authored
Merge pull request #1943 from vishnuchalla/openshift-deploy
fix(openshift): patch deployment issue
2 parents 0358fc3 + e3fb529 commit 84bdb3f

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

manifests/k8s/config/exporter/patch/patch-estimator-sidecar.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ spec:
3333
- /bin/sh
3434
- -c
3535
args:
36-
- until [ -e /tmp/estimator.sock ]; do sleep 1; done && /usr/bin/kepler -v=$(KEPLER_LOG_LEVEL) -kernel-source-dir=/usr/share/kepler/kernel_sources -redfish-cred-file-path=/etc/redfish/redfish.csv
36+
- until [ -e /tmp/estimator.sock ]; do sleep 1; done && /usr/bin/kepler -v=$(KEPLER_LOG_LEVEL) -redfish-cred-file-path=/etc/redfish/redfish.csv
3737
volumeMounts:
3838
- mountPath: /tmp
3939
name: tmp
4040
name: kepler-exporter
4141
- image: kepler_model_server
4242
imagePullPolicy: IfNotPresent
43-
command: [python3.8]
44-
args: [-u, src/estimate/estimator.py]
43+
command: [python3]
44+
args: [-u, src/kepler_model/estimate/estimator.py]
4545
name: estimator
4646
volumeMounts:
4747
- name: cfm

manifests/k8s/config/model-server/patch/patch-openshift.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ spec:
1111
- name: server-api
1212
securityContext:
1313
privileged: true
14+
volumeMounts:
15+
- mountPath: /tmp
16+
name: tmp-volume
17+
readOnly: false
18+
volumes:
19+
- name: tmp-volume
20+
emptyDir: {}

0 commit comments

Comments
 (0)