marmot
by Marmot Data
Marmot is an open-source data catalog that helps teams discover, understand, and govern their data assets. It's designed for modern data ecosystems where data flows through multiple systems, formats and teams.
About this chart
Marmot Helm Chart
Deploy Marmot to your Kubernetes cluster using the official Helm chart.
What is Marmot?
Marmot is an open-source data catalog that helps teams discover, understand, and govern their data assets. It's designed for modern data ecosystems where data flows through multiple systems, formats, and teams.
Quick Start
Add the Helm repository
helm repo add marmotdata https://marmotdata.github.io/charts
helm repo update
Install Marmot
helm install marmot marmotdata/marmot
Access the UI
Port-forward to access the dashboard:
kubectl port-forward svc/marmot 8080:8080
Open http://localhost:8080 in your browser.
The default username and password is admin:admin. Change this after your first login.
Database Configuration
Marmot requires PostgreSQL. Choose one of the following options:
External PostgreSQL
Connect Marmot to your existing PostgreSQL database:
config:
database:
host: postgres.example.com
port: 5432
user: marmot
passwordSecretRef:
name: marmot-db-secret
key: password
name: marmot
sslmode: require
Embedded PostgreSQL
For development and testing, enable the embedded PostgreSQL:
helm install marmot marmotdata/marmot \
--set postgresql.enabled=true
The chart generates a PostgreSQL password Secret named <release>-postgresql
with a password key and reuses it on upgrades. To use an existing Secret:
postgresql:
auth:
existingSecret: marmot-postgres-credentials
passwordKey: password
CloudNativePG
For production Kubernetes deployments, CloudNativePG provides a robust PostgreSQL operator with automatic failover, read replicas and connection pooling.
- Install the CloudNativePG operator:
kubectl apply --server-side -f \
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/releases/cnpg-1.25.1.yaml
- Configure and install Marmot with CNPG:
# values.yaml
cnpg:
enabled: true
instances: 3
password: "your-secure-password"
parameters:
shared_buffers: "256MB"
work_mem: "64MB"
effective_cache_size: "1GB"
persistence:
size: "10Gi"
pooler:
enabled: true
instances: 2
poolMode: "transaction"
helm install marmot marmotdata/marmot -f values.yaml
- Verify the cluster is ready:
kubectl get clusters
kubectl get pods -l cnpg.io/cluster=marmot-cnpg
All pods should show Running status with the primary indicated by the -1 suffix.
Encryption Key
Marmot encrypts sensitive pipeline credentials. You must configure an encryption key.
Auto-Generated (Default)
The Helm chart can auto-generate an encryption key for you (enabled by default):
config:
server:
autoGenerateEncryptionKey: true
Back Up Your Key: If the generated secret is deleted, you'll lose access to encrypted credentials. Back it up immediately after installation.
Retrieve the auto-generated key:
kubectl get secret <release-name>-marmot-encryption-key \
-o jsonpath='{.data.encryption-key}' | base64 -d
Bring Your Own
- Generate an encryption key:
marmot generate-encryption-key
# or
openssl rand -base64 32
- Create a Kubernetes secret:
kubectl create secret generic marmot-encryption \
--from-literal=encryption-key="your-generated-key"
- Configure the Helm chart:
config:
server:
autoGenerateEncryptionKey: false
encryptionKeySecretRef:
name: marmot-encryption
key: encryption-key
Reference
For all available configuration options, view the chart's defaults:
helm show values marmotdata/marmot
Or browse the values.yaml on GitHub.
Links
Deploy marmot with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has marmot on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmarmot is pinned at v1.6.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply