move image & replicas path

This commit is contained in:
Zhenzhong Xu
2024-10-21 07:04:31 +03:00
parent a70775d3d6
commit 5c2f3f0301
2 changed files with 14 additions and 14 deletions

View File

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

View File

@@ -19,31 +19,31 @@ deployments:
- containerPort: 8888
- name: dataprep-deploy
image: opea/dataprep-redis:latest
replicas: 1
spec:
image: opea/dataprep-redis:latest
replicas: 1
ports:
- containerPort: 6007
- name: vector-db
image: redis/redis-stack:7.2.0-v9
replicas: 1
spec:
image: redis/redis-stack:7.2.0-v9
replicas: 1
ports:
- containerPort: 6379
- containerPort: 8001
- name: retriever-deploy
image: opea/retriever-redis:latest
replicas: 1
spec:
image: opea/retriever-redis:latest
replicas: 1
ports:
- containerPort: 7000
- name: embedding-dependency-deploy
image: ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
replicas: 1
spec:
image: ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
replicas: 1
ports:
- containerPort: 80
args:
@@ -66,9 +66,9 @@ deployments:
name: shm
- name: reranking-dependency-deploy
image: opea/tei-gaudi:latest
replicas: 1
spec:
image: opea/tei-gaudi:latest
replicas: 1
args:
- name: "--model-id"
- value: $(RERANK_MODEL_ID)
@@ -102,9 +102,9 @@ deployments:
name: shm
- name: llm-dependency-deploy
image: ghcr.io/huggingface/tgi-gaudi:2.0.4
replicas: 1
spec:
image: ghcr.io/huggingface/tgi-gaudi:2.0.4
replicas: 1
ports:
- containerPort: 80
resources: