mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
add gpu support (#27427)
add gpu support Signed-off-by: Sheldon <chuanfeng.liu@zilliz.com>
This commit is contained in:
parent
5dbcdf777d
commit
217e5224db
@ -28,10 +28,16 @@ queryCoordinator:
|
|||||||
queryNode:
|
queryNode:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
nvidia.com/gpu.present: 'true'
|
nvidia.com/gpu.present: 'true'
|
||||||
|
extraEnv:
|
||||||
|
- name: CUDA_VISIBLE_DEVICES
|
||||||
|
value: "0,1"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
nvidia.com/gpu: 2
|
||||||
cpu: "0.5"
|
cpu: "0.5"
|
||||||
memory: "500Mi"
|
memory: "500Mi"
|
||||||
|
limits:
|
||||||
|
nvidia.com/gpu: 2
|
||||||
|
|
||||||
indexCoordinator:
|
indexCoordinator:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@ -44,10 +50,16 @@ indexCoordinator:
|
|||||||
indexNode:
|
indexNode:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
nvidia.com/gpu.present: 'true'
|
nvidia.com/gpu.present: 'true'
|
||||||
|
extraEnv:
|
||||||
|
- name: CUDA_VISIBLE_DEVICES
|
||||||
|
value: "0,1"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
nvidia.com/gpu: 2
|
||||||
cpu: "0.5"
|
cpu: "0.5"
|
||||||
memory: "500Mi"
|
memory: "500Mi"
|
||||||
|
limits:
|
||||||
|
nvidia.com/gpu: 2
|
||||||
|
|
||||||
dataCoordinator:
|
dataCoordinator:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
Loading…
Reference in New Issue
Block a user