apecloud/kubeblocks-skills/kubeblocks-addon-milvus

Claude Code and agent skill by apecloud/kubeblocks-skills

Trust tier 2
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Legacy compatibility shim for Milvus provisioning on KubeBlocks. The primary create-time entry is kubeblocks-engine-milvus. Keep this skill callable for older references, but do not recommend it as the main path for cold-start agents.

Install

npx vskill@latest install apecloud/kubeblocks-skills/kubeblocks-addon-milvus

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as apecloud/kubeblocks-skills/kubeblocks-addon-milvus.

Deploy Milvus on KubeBlocks

Legacy compatibility shim. Primary entry: kubeblocks-engine-milvus. Keep the preserved workflow below for detailed reference, but do not recommend this skill as the main path for cold-start agents.

Overview

Deploy Milvus vector database clusters on Kubernetes using KubeBlocks. Milvus powers embedding similarity search and AI applications. Supports standalone mode (single node, dev/test) and cluster mode (distributed, production) with etcd, MinIO, and optional Pulsar/Kafka for log storage.

Official docs: https://kubeblocks.io/docs/preview/kubeblocks-for-milvus/01-overview Quickstart: https://kubeblocks.io/docs/preview/kubeblocks-for-milvus/02-quickstart

Prerequisites

  • A running Kubernetes cluster with KubeBlocks installed (see install-kubeblocks)
  • The Milvus addon must be enabled:
bash
# Check if milvus addon is installed
helm list -n kb-system | grep milvus
# Install if missing
helm install kb-addon-milvus kubeblocks/milvus --namespace kb-system --version 1.0.0

Available Topologies

TopologyValueComponentsUse Case
Standalonestandalonemilvus + etcd + minioDev/test, single node
Clusterclustermilvus-proxy, milvus-mixcoord, milvus-datanode, milvus-indexnode, milvus-querynode + etcd + minio (+ pulsar/kafka)Production, distributed

Default ports: 19530 (gRPC), 9091 (metrics).

Supported Versions

VersionserviceVersion
Milvus 2.3v2.3.2
Milvus 2.5v2.5.13

List available: kubectl get cmpv milvus

Workflow

- [ ] Step 1: Ensure addon is installed
- [ ] Step 2: Create namespace
- [ ] Step 3: Create cluster (choose topology)
- [ ] Step 4: Dry-run, then apply
- [ ] Step 5: Watch until Running, verify success
- [ ] Step 6: Connect and verify

Step 1: Ensure Addon Is Installed

bash
helm list -n kb-system | grep milvus

If not found:

bash
helm install kb-addon-milvus kubeblocks/milvus --namespace kb-system --version 1.0.0

Step 2: Create Namespace

bash
kubectl create namespace demo --dry-run=client -o yaml | kubectl apply -f -

Step 3: Create Cluster

Standalone (Dev/Test)

Single-node deployment with etcd and MinIO co-located. Suitable for development and testing:

yaml
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: milvus-standalone
namespace: demo
spec:
clusterDef: milvus
topology: standalone
terminationPolicy: Delete
componentSpecs:
- name: etcd
replicas: 1
resources:
limits: {cpu: "0.5", memory: "0.5Gi"}
requests: {cpu: "0.5", memory: "0.5Gi"}
volumeClaimTemplates:
- name: data
spec:
accessModes: [ReadWriteOnce]
resources: {requests: {storage: 20Gi}}
- name: minio
replicas: 1
resources:
limits: {cpu: "0.5", memory: "0.5Gi"}
requests: {cpu: "0.5", memory: "0.5Gi"}
volumeClaimTemplates:
- name: data
spec:
accessModes: [ReadWriteOnce]
resources: {requests: {storage: 20Gi}}
- name: milvus
replicas: 1
resources:
limits: {cpu: "0.5", memory: "0.5Gi"}
requests: {cpu: "0.5", memory: "0.5Gi"}
volumeClaimTemplates:
- name: data
spec:
accessModes: [ReadWriteOnce]
resources: {requests: {storage: 20Gi}}
Cluster (Production)

Distributed deployment with proxy, mixcoord, datanode, indexnode, querynode. Requires pre-created etcd, minio, and optionally Pulsar/Kafka clusters. See cluster topology docs for full setup.

Key components: milvus-proxy (access), milvus-mixcoord (coordination), milvus-datanode, milvus-indexnode, milvus-querynode (compute), plus etcd, minio. Cluster mode uses serviceRef to reference external etcd, minio, and pulsar/kafka clusters.

Step 4: Dry-Run and Apply

Before applying, run server-side dry-run to catch RBAC, webhook, or schema errors:

bash
kubectl apply -f cluster.yaml --dry-run=server

If dry-run succeeds, apply:

bash
kubectl apply -f cluster.yaml

Step 5: Wait for Cluster Ready

bash
kubectl -n demo get cluster <cluster-name> -w

Success condition: STATUS shows Running. Typical duration: 2–5 min. Investigate after 10 min if still Creating/Updating (see safety-patterns).

Check pods:

bash
kubectl -n demo get pods -l app.kubernetes.io/instance=<cluster-name>

Step 6: Connect

Port-Forward (Standalone)
bash
kubectl port-forward pod/<cluster-name>-milvus-0 -n demo 19530:19530

Connect via localhost:19530 (gRPC). For cluster mode, port-forward to the proxy pod.

Verify with Python
python
from pymilvus import connections
connections.connect(host="localhost", port=19530)

Troubleshooting

Cluster stuck in Creating:

bash
kubectl -n demo describe cluster <cluster-name>
kubectl -n demo get events --sort-by='.lastTimestamp'

Milvus pod not starting:

bash
kubectl -n demo logs <milvus-pod>

etcd or minio dependency issues:

  • Ensure etcd and minio pods are Running before milvus starts
  • Check component order in componentSpecs

Out of memory:

  • Increase resources.limits.memory for milvus component
  • For cluster mode, scale datanode/indexnode/querynode resources

Day-2 Operations

OperationSkillExternal Docs
Stop / Start / Restartcluster-lifecycleDocs
Scale CPU / Memoryvertical-scalingDocs
Add / Remove replicashorizontal-scalingDocs
Expose externallyexpose-serviceDocs

Safety Patterns

Follow safety-patterns: dry-run before apply, confirm success condition after watch, pre-deletion checklist before delete.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/apecloud/kubeblocks-skills/kubeblocks-addon-milvus/badge)](https://verified-skill.com/skills/apecloud/kubeblocks-skills/kubeblocks-addon-milvus)

Something wrong with this skill or its page? Tell us.