Skip to content

Commit

Permalink
Fix patches for openshift deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Challa <[email protected]>
  • Loading branch information
Vishnu Challa committed Mar 8, 2025
1 parent 807177f commit 44f8b7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ spec:
- /bin/sh
- -c
args:
- 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
- until [ -e /tmp/estimator.sock ]; do sleep 1; done && /usr/bin/kepler -v=$(KEPLER_LOG_LEVEL) -redfish-cred-file-path=/etc/redfish/redfish.csv
volumeMounts:
- mountPath: /tmp
name: tmp
name: kepler-exporter
- image: kepler_model_server
imagePullPolicy: IfNotPresent
command: [python3.8]
args: [-u, src/estimate/estimator.py]
command: [python3]
args: [-u, src/kepler_model/estimate/estimator.py]
name: estimator
volumeMounts:
- name: cfm
Expand Down
7 changes: 7 additions & 0 deletions manifests/k8s/config/model-server/patch/patch-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ spec:
- name: server-api
securityContext:
privileged: true
volumeMounts:
- mountPath: /tmp
name: tmp-volume
readOnly: false
volumes:
- name: tmp-volume
emptyDir: {}

0 comments on commit 44f8b7c

Please sign in to comment.