| name | weave-stack |
| description | Deploy and operate RAG infrastructure using weave-cli stacks. Use when: (1) initializing weave-stack.yaml for k8s or podman, (2) deploying VDB + ingestion + dashboard, (3) monitoring stack health, (4) day-2 operations (backup, scaling, security), (5) managing the weave dashboard UI. NOT for: initial setup (use weave-setup), data ingestion (use weave-ingest), querying (use weave-search), or evaluations (use weave-eval). |
| homepage | https://github.com/Maximilien-ai/weave-cli |
| tags | ["rag","data","weave","vector-database"] |
| metadata | {"openclaw":{"emoji":"📦","requires":{"bins":["weave","kubectl"]},"install":[{"id":"brew","kind":"brew","formula":"Maximilien-ai/tap/weave-cli","bins":["weave"],"label":"Install weave-cli (brew)"},{"id":"go","kind":"go","package":"github.com/Maximilien-ai/weave-cli","bins":["weave"],"label":"Install weave-cli (go install)"}]}} |
weave-stack
Deploy and operate complete RAG infrastructure — VDB, ingestion pipeline, dashboard, and day-2 ops.
When to Use
- Initializing stack configuration (weave-stack.yaml)
- Deploying RAG infrastructure to k8s or podman
- Monitoring stack health and logs
- Day-2 operations: backup, scaling, security patching
- Managing the weave dashboard UI
When NOT to Use
- Initial weave-cli setup ->
weave-setup skill
- Data ingestion commands ->
weave-ingest skill
- Search and querying ->
weave-search skill
- Evaluations ->
weave-eval skill
Stack Lifecycle
Initialize
weave stack init
weave stack validate
weave-stack.yaml Format
runtime:
type: kubernetes
provider: kind
nodes: 1
container_runtime: podman
vectordb:
type: milvus
version: "2.3.0"
resources:
requests: { memory: "2Gi" }
limits: { memory: "4Gi" }
llm:
provider: openai
embedding_model: text-embedding-3-small
chat_model: gpt-4o
image_storage:
type: minio
endpoint: minio:9000
bucket: weave-images
ingestion:
workers: 2
batch_size: 10
retry:
strategy: exponential
max_retries: 3
checkpoint: true
Deploy
weave stack up --runtime kind
weave stack up --runtime minikube
weave stack up --runtime eks
weave stack up --runtime gke
Monitor
weave stack status
weave stack logs
weave stack logs milvus
weave stack logs --follow
Stack Operations
weave stack ingest ./data/ --collection StackDocs
weave stack collections list
weave stack collections create NewCollection
weave stack backup
weave stack kubectl get pods
weave stack kubectl describe pod milvus-0
weave stack port-forward
Dashboard
weave stack dashboard
Dashboard features: search interface, collection browser, health monitoring, agent queries.
Shutdown
weave stack down
Local Development Stacks
Docker Compose (Milvus)
services:
milvus:
image: milvusdb/milvus:v2.4.0-standalone
ports:
- "19530:19530"
- "9091:9091"
deploy:
resources:
limits:
memory: 12G
cd local/milvus && docker compose up -d
Docker Compose (MinIO for images)
cd docker && docker compose -f docker-compose.minio.yml up -d
Day-2 Operations
Regular Updates
weave stack status
weave stack backup
weave stack up
Scaling
weave stack validate
weave stack up
Security
weave config update --env
weave stack up
Backup & Recovery
weave stack backup
weave backup validate backup.weavebak
weave backup restore backup.weavebak
Metrics & Monitoring
weave serve --metrics-port 9090
curl http://localhost:9090/metrics
MCP Integration
weave mcp list
weave mcp call tool-name
weave mcp test
weave mcp list --server http://localhost:8030
Decision Workflow
- Choose runtime:
kind for local dev, eks/gke for production
- Initialize:
weave stack init
- Configure VDB, LLM, storage in weave-stack.yaml
- Validate:
weave stack validate
- Deploy:
weave stack up --runtime kind
- Verify:
weave stack status
- Ingest data:
weave stack ingest
- Open dashboard:
weave stack dashboard
- Set up monitoring and backups for production