updated chatqna helmcharts image name

This commit is contained in:
Zhenzhong Xu
2024-10-21 06:54:27 +03:00
parent 3dd5475773
commit a70775d3d6
3 changed files with 16 additions and 16 deletions

View File

@@ -6,8 +6,6 @@ HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
podSpecs:
- name: chatqna-backend-server-deploy
spec:
image_name: opea/chatqna
image_tag: latest
replicas: 2
resources:
limits:
@@ -19,8 +17,6 @@ podSpecs:
- name: embedding-dependency-deploy
spec:
image_name: ghcr.io/huggingface/text-embeddings-inference
image_tag: cpu-1.5
replicas: 1
resources:
limits:
@@ -32,8 +28,6 @@ podSpecs:
- name: reranking-dependency-deploy
spec:
image_name: opea/tei-gaudi
image_tag: latest
replicas: 1
resources:
limits:
@@ -41,8 +35,6 @@ podSpecs:
- name: llm-dependency-deploy
spec:
image_name: ghcr.io/huggingface/tgi-gaudi
image_tag: 2.0.4
replicas: 7
resources:
limits:
@@ -50,20 +42,14 @@ podSpecs:
- name: dataprep-deploy
spec:
image_name: opea/dataprep-redis
image_tag: latest
replicas: 1
- name: vector-db
spec:
image_name: redis/redis-stack
image_tag: 7.2.0-v9
replicas: 1
- name: retriever-deploy
spec:
image_name: opea/retriever-redis
image_tag: latest
replicas: 2
resources:
requests:

View File

@@ -11,7 +11,7 @@ metadata:
name: {{ $deployment.name }}
namespace: default
spec:
replicas: {{ $podSpec.spec.replicas }}
replicas: {{ with $podSpec.spec.replicas }}{{ . }}{{ else }}{{ $deployment.spec.replicas }}{{ end }}
selector:
matchLabels:
app: {{ $deployment.name }}
@@ -46,7 +46,7 @@ spec:
{{- end }}
{{- end }}
image: {{ $podSpec.spec.image_name }}:{{ $podSpec.spec.image_tag }}
image: {{ $deployment.spec.image }}
imagePullPolicy: IfNotPresent
name: {{ $podSpec.name }}

View File

@@ -12,28 +12,38 @@ config:
deployments:
- name: chatqna-backend-server-deploy
image: opea/chatqna:latest
replicas: 1
spec:
ports:
- containerPort: 8888
- name: dataprep-deploy
spec:
image: opea/dataprep-redis:latest
replicas: 1
ports:
- containerPort: 6007
- name: vector-db
spec:
image: redis/redis-stack:7.2.0-v9
replicas: 1
ports:
- containerPort: 6379
- containerPort: 8001
- name: retriever-deploy
spec:
image: opea/retriever-redis:latest
replicas: 1
ports:
- containerPort: 7000
- name: embedding-dependency-deploy
spec:
image: ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
replicas: 1
ports:
- containerPort: 80
args:
@@ -57,6 +67,8 @@ deployments:
- name: reranking-dependency-deploy
spec:
image: opea/tei-gaudi:latest
replicas: 1
args:
- name: "--model-id"
- value: $(RERANK_MODEL_ID)
@@ -91,6 +103,8 @@ deployments:
- name: llm-dependency-deploy
spec:
image: ghcr.io/huggingface/tgi-gaudi:2.0.4
replicas: 1
ports:
- containerPort: 80
resources: