Milvus Engine Entry
Use this as the primary create-time entry for Milvus. Tier-1 Milvus never falls back to kubeblocks-engine-generic.
Cold-Start Contract
- Run kubeblocks-preflight whenever the environment is not already profiled.
- Treat engine-create-matrix as the create-time truth for topology, version strategy, sizing, validation, next hops, and forbidden routes.
- Use observability-capability-matrix before promising scrape readiness.
- Keep the legacy kubeblocks-addon-milvus path as preserved detail only, not as the primary cold-start route.
Topology Selection
- Default topology:
cluster standalone: use only for evaluation, demos, or very small vector workloads.cluster: default production path because Milvus usually depends on separate metadata, log, and object-storage services.- If the user is doing real retrieval or vector search work, stay on
cluster.
ServiceVersion / Version Strategy
- Strategy: use the stable addon default from current examples unless the user explicitly pins a serviceVersion
- Use the addon-backed Milvus line from current examples and keep dependency services aligned with the same shipped addon generation.
- Do not guess a version from generic Milvus release notes when the addon examples already define a safe line.
Preflight Interpretation
storage_class: required before apply because Milvus data and dependency services persist to PVCs.volume_binding_mode: confirm storage placement before cluster rollout.addon_readiness: Milvus addon must be installed first.dependency_clusters: the cluster path depends on metadata, log, and object storage references; do not skip dependency validation.
Sizing Profiles
demo:standaloneor a very small dependency-backedclusterfor SDK validation.production:clusterwith explicit etcd, MinIO, and Pulsar dependency posture plus observability from day 1.- Treat Milvus dependency capacity as part of the create decision, not as an afterthought.
Minimal Create Path
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: <cluster>
namespace: <ns>
spec:
terminationPolicy: Delete
- Do not leave this skill to read raw addon examples before drafting the manifest.
- Set
clusterDef: milvusfor every Milvus create path in this wave. standalone: settopology: standalone, keep a singlename: milvuscomponent, and setserviceVersion,resources, andvolumeClaimTemplateson that component.cluster: settopology: cluster, let the topology materializename: proxy,name: mixcoord,name: datanode,name: indexnode, andname: querynode, and only continue after dependency clusters are already resolved in preflight.- Validate with
kubectl apply --dry-run=server -f <milvus-cluster.yaml>. - Apply with
kubectl apply -f <milvus-cluster.yaml>. - Watch
kubectl get cluster <name> -n <ns> -wuntil the phase isRunning.
Connection and Validation
- Supported connection methods:
in-cluster service,port-forward - First validation step:
kubectl get cluster <name> -n <ns>and wait forRunning. - Default validation: port-forward the Milvus endpoint and confirm SDK or health access on the gRPC/data path.
- For
cluster, verify dependency clusters are reachable before handing the endpoint to application teams.
Next Hops
- Day-2 operations currently route to
kubeblocks-op-lifecycle,kubeblocks-op-horizontal-scale, andkubeblocks-observability-router. - Treat credential and TLS work as engine-specific validation rather than assuming kubeblocks-manage-accounts or kubeblocks-configure-tls are default Milvus paths.
- Do not send this path to kubeblocks-rebuild-replica; Milvus recovery should stay on troubleshoot, restore, or dependency repair.
- Route dependency, component, or service-reference failures to kubeblocks-troubleshoot.
Forbidden Routes
- Never route Milvus create through
kubeblocks-engine-generic,kubeblocks-family-vector,kubeblocks-addon-milvus, orkubeblocks-engine-qdrant. - If the request is actually a lightweight vector store with Qdrant semantics, switch engines before apply.
Evidence Anchors
- Use the evidence anchors below only as optional secondary evidence and parity checks after the manifest is already drafted here. A cold-start runtime should not need these files, but a stronger agent may inspect them when available.
- Current addon evidence:
examples/milvus/cluster-standalone.yaml,examples/milvus/cluster.yaml. - There is no separate legacy reference file for this engine in the current repository snapshot.