Install Milvus Cluster

You can install Milvus cluster with Docker Compose or on Kubernetes.

You can also build Milvus from source code.

Installing Milvus with Docker Compose can only be used for testing and cannot be used in production.

Install Milvus Cluster

  1. Download docker-compose.yml:
$ wget -O docker-compose.yml
  1. Start Milvus Cluster:
$ docker-compose up -d
Docker Compose is now in the Docker CLI, try `docker compose up`
Creating milvus-etcd   ... done
Creating milvus-minio  ... done
Creating milvus-pulsar ... done
Creating milvus-proxy      ... done
Creating milvus-rootcoord  ... done
Creating milvus-indexcoord ... done
Creating milvus-querycoord ... done
Creating milvus-datacoord  ... done
Creating milvus-querynode  ... done
Creating milvus-indexnode  ... done
Creating milvus-datanode   ... done

If Milvus Cluster boots successfully, 11 running docker containers appear (three infrastructure services and eight Milvus services):

$ sudo docker ps
      Name                     Command                  State                          Ports
milvus-datacoord    /tini -- milvus run datacoord    Up
milvus-datanode     /tini -- milvus run datanode     Up
milvus-etcd         etcd -listen-peer-urls=htt ...   Up (healthy)   2379/tcp, 2380/tcp
milvus-indexcoord   /tini -- milvus run indexcoord   Up
milvus-indexnode    /tini -- milvus run indexnode    Up
milvus-minio        /usr/bin/docker-entrypoint ...   Up (healthy)   9000/tcp
milvus-proxy        /tini -- milvus run proxy        Up   >19530/tcp,:::19530->19530/tcp
milvus-pulsar       bin/pulsar standalone            Up
milvus-querycoord   /tini -- milvus run querycoord   Up
milvus-querynode    /tini -- milvus run querynode    Up
milvus-rootcoord    /tini -- milvus run rootcoord    Up
To stop Milvus Cluster, run $ sudo docker-compose down.
Is this page helpful?
Scored Successfully!