milvus/deployments/docker/cluster-distributed-deployment/deploy-milvus.yml
john-h-luo 9f5a0d60d1
correct typo modify comment (#16492)
Signed-off-by: John Luo <jiehua.luo@zilliz.com>
2022-04-18 14:25:37 +08:00

38 lines
952 B
YAML

---
# Milvus dependent, before running this playbook, modify the Inventory to make sure
# correct IP address and Host name are in place.
- name: Create milvus-etcd, minio, pulsar
hosts: dependencies
become: yes
become_user: root
tags: docker
roles:
- deploy-etcd
- deploy-minio
- deploy-pulsar
# Deploy all 3 nodes on the same host can be benefitial from I/O optimized disk, and it's easier
# to have additional host running a set of milvus nodes.
- name: Create milvus nodes
hosts: nodes
become: yes
become_user: root
tags: docker
roles:
- deploy-datanode
- deploy-indexnode
- deploy-querynode
#Deploy all Coordinators and Proxy on the same host will reduce time to traffic on network.
- name: Create milvus coords
hosts: coords
become: yes
become_user: root
tags: docker
roles:
- deploy-rootcoord
- deploy-indexcoord
- deploy-datacoord
- deploy-querycoord
- deploy-proxy