You can install Milvus standalone with Docker Compose or on Kubernetes.
You can also build Milvus from source code.
$ minikube start
$ helm repo add milvus https://milvus-io.github.io/milvus-helm/
$ helm repo update
Provide a release name for identifying your Milvus deployment.
my-releaseas the release name. To use a different release name, adjust the release name in subsequent commands.
$ helm install my-release milvus/milvus
If Milvus boots successfully, each Milvus’ pod shows
$ kubectl get pods NAME READY STATUS RESTARTS AGE my-release-etcd-0 1/1 Running 0 30s my-release-milvus-standalone-54c4f88cb9-f84pf 1/1 Running 0 30s my-release-minio-5564fbbddc-mz7f5 1/1 Running 0 30s
In a new terminal, port-forward your Milvus service to your local machine:
$ kubectl port-forward service/my-release-milvus 19530 Forwarding from 127.0.0.1:19530 -> 19530
$ helm uninstall my-release
To shut down the minikube virtual machine but preserve all the resources you’ve created, run the following command to stop the cluster:
$ minikube stop
minikube startto restart the cluster.
If you will not need to restart the cluster, run the following command to delete the minikube virtual machine as well as the persistent volume and all the created resources:
stderrbefore deleting the cluster and all its resources. To access a pod's standard error stream, run
kubectl logs (podname).