mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
9f5a0d60d1
Signed-off-by: John Luo <jiehua.luo@zilliz.com>
38 lines
952 B
YAML
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
|