Skip to content
Vector database engineering on Kubernetes · Chapter 20 of 20 Appendix C: Tools, versions, lab and production

Appendix C: Tools, versions, lab and production

What this appendix is for: you want to rebuild the course or put its measurements into context. Here are the versions every output in this course was produced with, and the differences between the lab and an operation that costs money when it fails.

The lab

VM Role in the course Size
vdb1 k3s server, workbench (Python, load generator), Ollama, monitoring, Argo CD, off-site store (SeaweedFS) 12 vCPU, 12 GB RAM, 80 GB
vdb2 worker, Qdrant, PostgreSQL (Day 13), Milvus (Day 14) 8 vCPU, 16 GB RAM, 80 GB
vdb3 worker, Qdrant 2 vCPU, 8 GB RAM, 30 GB
vdb4 worker, Qdrant 2 vCPU, 8 GB RAM, 30 GB

All VMs: Ubuntu 24.04.5, kernel 6.8.0-151, one shared network 172.16.0.0/24. Ollama computes the embeddings on the CPU. Measurements such as throughput, p99 and load times apply to exactly this hardware; the weak nodes vdb3 and vdb4 slow down every measurement they take part in (Day 8).

Versions

Tool Version used from
k3s (with Flannel, kube-router for NetworkPolicies, CoreDNS 1.15.0, metrics-server 0.9.1) v1.37.3+k3s1 Day 0
Helm v4.3.2 Day 0
Longhorn (chart and images), longhornctl 1.13.0 Day 0
Ollama 0.40.21 Day 0
nomic-embed-text (768 dimensions) ID 0a109f422b47 Day 0
Python 3.12.3 Day 0
numpy / requests / qdrant-client 2.5.5 / 2.34.2 / 1.20.0 Day 0–2
Qdrant (image and chart) 1.20.3 Day 2
glove-100-angular (ann-benchmarks, 1,183,514 × 100) downloaded on 5 December 2026 Day 8
h5py 3.16.0 Day 8
curl test pod curlimages/curl:8.11.1 Day 10
cert-manager v1.21.3 Day 10
kube-prometheus-stack (chart) 94.5.0 Day 11
Prometheus / Alertmanager / Grafana v3.16.0 / v0.35.1 / 13.3.2 Day 11
prometheus-operator / kube-state-metrics / node-exporter v0.95.2 / v2.20.0 / v1.13.1 Day 11
SeaweedFS (off-site store, S3) 4.56 Day 12
AWS CLI 1.46.3 Day 12
CloudNativePG 1.30.2 Day 13
PostgreSQL / pgvector 18.7 / 0.8.7 (image 18-standard-trixie) Day 13
psycopg / pgvector (Python) 3.3.9 / 0.5.1 Day 13
Milvus (standalone with Woodpecker) / chart 3.0.7 / 5.0.35 Day 14
pymilvus 3.0.4 Day 14
Argo CD / chart argo-cd v3.6.4 / 10.20.4 Day 15
Qdrant in the test build (upgrade and way back) 1.17.1, 1.19.2, 1.20.3 Day 15

Newer versions behave differently in the details. The fields in /collections/<name>, the defaults of the Helm charts and the names of metrics change most often. Read the release notes of Qdrant and Longhorn before rebuilding.

MinIO and the choice of off-site store

The MinIO repository has been archived since April 2026. Two maintained projects were available for the course: SeaweedFS (Apache-2.0, weekly releases) and Garage (AGPL-3.0). The course uses SeaweedFS, as a systemd service directly on vdb1, so that the backups survive a failure of the cluster (Day 12).

Lab and production

Topic In the lab In production
Nodes four VMs, two of them with 2 vCPU data nodes of equal size, room for the loss of one node plus growth
Storage Longhorn with three copies per volume, plus Qdrant replicas choose Longhorn copies or Qdrant replicas deliberately; local NVMe for Qdrant when replication lives in Qdrant
Qdrant replicas doku with two copies, glove with one every collection with replication_factor ≥ 2, copies on different nodes (Day 16, checklist)
Partitions iptables on one VM zones or racks; anti-affinity and topology spread over topology.kubernetes.io/zone
Embeddings Ollama on the CPU dedicated service with GPU or an external provider; pin the model version and record it with the collection
Keys files in ~/labor/tag10, Kubernetes secrets a secret store (for example OpenBao) with rotation; never in the Git repository, never in ConfigMaps (Milvus chart, Day 14)
TLS own CA via cert-manager the organization’s CA, monitor expiry (Day 16)
Monitoring Prometheus with emptyDir Prometheus with a volume or remote storage, alerts to an on-call rota
Backup manual snapshots to the off-site store on vdb1 a scheduled job, off-site store at another location, regular restore drills with measured RPO and RTO
GitOps bare Git repository on vdb1, Argo CD without UI the organization’s Git server with reviews, Argo CD with SSO and projects
Upgrades test build with a throwaway installation staging with a copy of the data, snapshot before every minor upgrade, do not plan on downgrades (Day 15)
Scaling a fourth pod on vdb1 as an experiment choose a generous shard count at creation; Qdrant OSS has no resharding (Day 9)

Contents

More