Installation
Alauda Data Services Vector Database E1 is delivered as an OLM operator package. Installing it takes two separate steps: install the operator, then create a Milvus instance as a custom resource.
If the cluster already runs Milvus through the chart-milvus-operator cluster plugin, do not
install this operator next to it, and do not uninstall the plugin first. Follow
Migrating from the chart plugin
instead.
TOC
PrerequisitesInstall the operatorCreate a Milvus instancePod SecurityStandaloneClusterApply and checkDeleting an instancePrerequisites
- An Alauda Container Platform 4.1, 4.2, 4.3 or 4.4 cluster,
amd64orarm64, with themilvus-operatorpackage uploaded to the platform. - Permission to install operators from OperatorHub.
- A default
StorageClass, or a namedStorageClassthat you reference from the instance. Every in-cluster etcd member and object storage server claims a persistent volume. - Enough quota for the topology you create. The standalone example below runs 3 pods; the cluster example runs 9.
Install the operator
- Log in to the platform and go to the Platform Management page.
- In the left navigation bar, select Marketplace > OperatorHub.
- Find Alauda Data Services Vector Database E1, click Install, and enter the deployment page.
Configuration Parameters:
- Review the settings and click Install.
Check that the operator is running:
Create a Milvus instance
Create the instance in a namespace of your choice. The examples do not set any image: the operator uses the Milvus engine, etcd and Silo images delivered with the operator, from the platform image registry. The engine version is Milvus 2.6.24.
Pod Security
Namespaces on Alauda Container Platform typically enforce the Pod Security Standard
restricted. The operator renders every container it creates with the restricted settings
(allowPrivilegeEscalation: false, all capabilities dropped, seccompProfile: RuntimeDefault), and the in-cluster etcd and Silo pods run as non-root users.
For the Milvus pods themselves, set spec.components.runAsNonRoot: true, as both examples
do. The operator then runs the Milvus containers as user 1000 and marks the pod
runAsNonRoot. Without it, a namespace that enforces restricted rejects the Milvus pods.
Standalone
All Milvus functions run in one pod, with a single-member etcd and a single Silo server. Use it for development, testing and small data sets.
storage.type: MinIO selects the S3-compatible storage protocol. The in-cluster server the
operator installs for it is Silo. Its Deployment, Service and PVC keep the historical name
<instance-name>-minio, but the container runs the Silo image.
Cluster
Milvus functions run as separate components (Proxy, MixCoord, QueryNode, DataNode and StreamingNode), with a three-member etcd. The message stream is Woodpecker, which is part of the Milvus engine and needs no extra pods.
To use an external S3-compatible service or an external Kafka or Pulsar instead, see the
spec.dependencies reference of the Milvus custom resource.
Apply and check
When the status is Healthy, clients connect to the Service <instance-name>-milvus on port
19530 (gRPC and REST), for example milvus-standalone-milvus.<namespace>.svc:19530.
Deleting an instance
Deleting the Milvus resource removes the Milvus pods. With the defaults, the in-cluster
etcd and object storage releases and their persistent volumes are kept
(deletionPolicy: Retain). To remove them together with the instance, set
deletionPolicy: Delete and pvcDeletion: true under
spec.dependencies.etcd.inCluster and spec.dependencies.storage.inCluster before you delete
it.
Milvus™ is a trademark of The Linux Foundation. Alauda is an independent vendor. This product is not affiliated with, endorsed by, or sponsored by The Linux Foundation. All trademarks are the property of their respective owners and are used here for identification purposes only.