Frappe Operator Documentation
Welcome to the comprehensive documentation for the Frappe Operator - a Kubernetes operator that automates the deployment, scaling, and management of Frappe Framework applications (including ERPNext) on Kubernetes clusters.
What is Frappe Operator?
Frappe Operator brings the power of Kubernetes orchestration to Frappe deployments, making it easy to:
- π Deploy Frappe applications with a single command
- π Scale automatically based on traffic and resource usage
- π’ Manage multiple sites efficiently on shared infrastructure
- π Update with zero-downtime rolling updates
- π Secure with auto-generated credentials and RBAC
Quick Navigation
π Comprehensive Guide
For Developers
Key Features
π― Core Capabilities
- Declarative Configuration - Define infrastructure as YAML
- Multi-Tenancy - Run hundreds of sites on shared infrastructure
- Auto-Scaling - Scale workers based on queue length (KEDA integration)
- Database Management - Automatic MariaDB/PostgreSQL provisioning
- External Database Support - Connect to RDS, Cloud SQL, or any external DB
- OpenShift Ready - Optimized for restricted security contexts
- GitOps Compatible - Manage infrastructure as code
π§ Advanced Features
- Site-Specific App Installation - Install different apps per site with graceful degradation
- Hybrid App Installation - Install from FPM packages, Git, or images
- Worker Autoscaling - Scale-to-zero for cost optimization
- Site reconciliation concurrency - Tune concurrent site reconciles for 100+ sites (operator config or per-bench)
- Backup Management - Automated backups with retention policies
- Observability - Built-in Prometheus metrics and logging
- Multi-Platform - ARM64 and AMD64 compatible
Quick Start
# Install operator
curl -fsSL https://raw.githubusercontent.com/vyogotech/frappe-operator/main/install.sh | bash
# Create a bench
kubectl apply -f examples/basic-bench.yaml
# Create a site
kubectl apply -f examples/basic-site.yaml
Documentation Structure
π Getting Started
ποΈ Architecture & Concepts
βοΈ Configuration & Operations
π API Reference
π‘ Examples
π§ Troubleshooting
- Current Version: v2.5.0
- Kubernetes: 1.19+
- Go Version: 1.24+
- License: Apache 2.0
Whatβs New
v2.6.0 (Upcoming)
- β
Site-Specific App Installation: Install different apps per site with graceful degradation
- β
SiteBackup CRD: Automated site backups with
bench backup
- β
Full backup options support (files, compression, selective DocTypes)
- β
Scheduled backups via CronJob and one-time via Job
- β
Custom backup paths and filtering capabilities
v2.5.0
- β
OpenShift Route support
- β
Configurable image defaults via ConfigMap
- β
Enhanced Conditions and Events
- β
Improved finalizer cleanup logic
- β
Exponential backoff for retries
v2.4.0
- β
External database support (RDS, Cloud SQL)
- β
Production-ready features
- β
Enhanced security contexts
See Release Notes for complete changelog.
Ready to get started? Head to the Installation Guide!