pgvector), and Neo4j. This guide covers standard installation, external database integration, and resource optimization.
Prerequisites: You will need a Kubernetes cluster (v1.19+), Helm 3 installed, and a
StorageClass that supports ReadWriteMany (RWX) (e.g., NFS-client).High-Level Architecture
The chart exposes the MemMachine API via a NodePort (default31001), while internal databases are kept private within the cluster using ClusterIP services.
Quick Start
Deploy MemMachine with default settings (in-cluster databases) using a single command:Configuration Reference
Persistent Storage
By default, the chart requests 5Gi per volume using thenfs-client storage class.
| Parameter | Default | Description |
|---|---|---|
storageClass | nfs-client | StorageClass for all PVCs. |
accessMode | ReadWriteMany | Must match your StorageClass capabilities. |
pvcSize | 5Gi | Storage request for each component. |
External Databases
If you prefer to use managed services (like RDS or Neo4j Aura), disable the in-cluster components: BashResource Limits
Our QA team has verified these baseline limits for small-to-medium workloads:| Component | CPU Request | Memory Limit | Note |
|---|---|---|---|
| MemMachine | 200m | 2Gi | No CPU limit to prevent inference throttling. |
| PostgreSQL | 250m | 2Gi | Headroom for pgvector index builds. |
| Neo4j | 500m | 2Gi | Covers JVM heap + Page Cache. |
Advanced Usage
Ollama Integration
Override
model.base_url and model.provider in your values.yaml to point to a local Ollama instance.NodePort Customization
Change the default port by setting
nodePorts.http8080 to your desired range (30000-32767).Example: Custom Values File
For production setups, we recommend using avalues-override.yaml:

