mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
54 lines
1.5 KiB
INI
54 lines
1.5 KiB
INI
[dockernodes]
|
|
dockernode01
|
|
dockernode02
|
|
dockernode03
|
|
|
|
[admin]
|
|
ansible-controller
|
|
|
|
[coords]
|
|
; Take note the IP of this host VM, and replace 10.170.0.17 with it.
|
|
dockernode01
|
|
|
|
[nodes]
|
|
dockernode02
|
|
|
|
[dependencies]
|
|
; dependencies node will host etcd, minio, pulsar, these 3 roles are the foundation of Milvus.
|
|
; Take note the IP of this host VM, and replace 10.170.0.19 with it.
|
|
dockernode03
|
|
|
|
[docker:children]
|
|
dockernodes
|
|
coords
|
|
nodes
|
|
dependencies
|
|
|
|
[docker:vars]
|
|
ansible_python_interpreter= /usr/bin/python3
|
|
StrictHostKeyChecking= no
|
|
|
|
; Setup variables to controll what type of network to use when creating containers.
|
|
dependencies_network= host
|
|
nodes_network= host
|
|
|
|
; Setup varibale to controll what version of Milvus image to use.
|
|
image= milvusdb/milvus-dev:master-20220412-4781db8a
|
|
|
|
; Setup static IP addresses of the docker hosts as variable for container environment variable config.
|
|
; Before running the playbook, below 4 IP addresses need to be replaced with the IP of your host VM
|
|
; on which the etcd, minio, pulsar, coordinators will be hosted.
|
|
etcd_ip= 10.170.0.19
|
|
minio_ip= 10.170.0.19
|
|
pulsar_ip= 10.170.0.19
|
|
coords_ip= 10.170.0.17
|
|
|
|
; Setup container environment which later will be used in container creation.
|
|
ETCD_ENDPOINTS= {{etcd_ip}}:2379
|
|
MINIO_ADDRESS= {{minio_ip}}:9000
|
|
PULSAR_ADDRESS= pulsar://{{pulsar_ip}}:6650
|
|
QUERY_COORD_ADDRESS= {{coords_ip}}:19531
|
|
DATA_COORD_ADDRESS= {{coords_ip}}:13333
|
|
ROOT_COORD_ADDRESS= {{coords_ip}}:53100
|
|
INDEX_COORD_ADDRESS= {{coords_ip}}:31000
|