mirror of https://github.com/milvus-io/milvus.git
54 lines
1.5 KiB
INI
54 lines
1.5 KiB
INI
[dockernodes]
|
|
dockernode01
|
|
dockernode02
|
|
dockernode03
|
|
|
|
[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
|
|
ansible_connection = ssh
|
|
; Replace linux-user with your linux user name
|
|
ansible_user = linux-user
|
|
|
|
; Setup variables to controll what type of network to use when creating containers.
|
|
dependencies_network= host
|
|
nodes_network= host
|
|
|
|
; Setup varibale to controll what image version of Milvus to use.
|
|
image= milvusdb/milvus:v2.1.0
|
|
|
|
; 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
|