Skip to content

Commit

Permalink
feat: recommend optimization (#813)
Browse files Browse the repository at this point in the history
* feat: recommend optimization

* feat: recommend optimization, frontend part show debug info

---------

Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
bleachzou3 and Ubuntu authored Dec 31, 2024
1 parent 6932ab6 commit e71ec8d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ spec:
value: user_space_{{ .Values.bfl.username }}_knowledge
containers:
- name: knowledge
image: "beclab/knowledge-base-api:v0.1.57"
image: "beclab/knowledge-base-api:v0.1.58"
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
Expand Down Expand Up @@ -380,6 +380,19 @@ spec:
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File

- name: recommend-debug
image: "beclab/recommenddebug:v0.0.25"
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
runAsUser: 1000
env:
- name: KNOWLEDGE_BASE_API_URL
value: http://127.0.0.1:3010
volumeMounts:
- mountPath: /opt/rank_model
name: model

volumes:
- name: watch-dir
hostPath:
Expand All @@ -396,7 +409,10 @@ spec:
items:
- key: envoy.yaml
path: envoy.yaml

- name: model
hostPath:
type: DirectoryOrCreate
path: {{ .Values.userspace.appData }}/rss/model

---
apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ spec:
- mountPath: /www
name: www-dir
- name: wise-init
image: beclab/wise:v1.3.9
image: beclab/wise:v1.3.10
imagePullPolicy: IfNotPresent
command:
- /bin/sh
Expand Down

0 comments on commit e71ec8d

Please sign in to comment.