Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Kubernetes Deployment

Helm Chart

Install Mnemo on Kubernetes using the Helm chart:

helm install mnemo deploy/helm/mnemo/ \
  --set postgres.url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/mnemo" \
  --set openaiApiKey="${OPENAI_API_KEY}"

Configuration

Key values.yaml options:

ValueDefaultDescription
replicaCount1Number of replicas
image.repositoryghcr.io/mnemo-ai/mnemoContainer image
image.taglatestImage tag
postgres.url-PostgreSQL connection URL
openaiApiKey-OpenAI API key
rest.enabledtrueEnable REST API
rest.port8080REST API port
resources.requests.cpu100mCPU request
resources.requests.memory128MiMemory request
ingress.enabledfalseEnable ingress

Scaling

For production with PostgreSQL:

helm upgrade mnemo deploy/helm/mnemo/ --set replicaCount=3

Multiple replicas share the same PostgreSQL database, each handling MCP or REST connections independently.