Multi-Instance Setup
Run multiple Orphelix instances simultaneously to monitor different Kubernetes clusters.Use Cases
- Multiple environments - Production, staging, development
- Multiple clusters - Different regions or teams
- Testing - Test new features without affecting production
- Demo mode + Real cluster - Show demos while monitoring real workloads
Quick Start
Start Multiple Instances
List All Instances
Instance Naming
When using--name, Orphelix automatically prefixes with orphelix-:
Managing Named Instances
Start
Stop
Restart
View Logs
Check Status
Delete
Port Configuration
Each instance needs a unique port:Access URLs
Each instance is accessible at:http://orphelix.local:PORThttp://localhost:PORT
- Production:
http://orphelix.local:3000 - Staging:
http://orphelix.local:3001 - Development:
http://orphelix.local:3002
Database Isolation
Each instance uses the same database file by default. To isolate data, run instances from different directories.
Shared Database (Default)
All instances share settings:Isolated Databases
Create separate directories:orphelix.db.
Kubernetes Context Switching
Each instance connects to the current kubectl context when started.Workflow
Auto-Startup
Enable auto-startup for all instances:Resource Usage
Monitor resource usage across instances:Example Setups
Scenario 1: Separate Environments
Scenario 2: Different Teams
Scenario 3: Regional Clusters
Best Practices
- Use descriptive names -
prod,staging,dev, notinstance1,instance2 - Consistent ports - Document which port is for which environment
- Separate databases - Use different directories for complete isolation
- Monitor resources - Check
orphelix listregularly for memory/CPU usage - Auto-startup - Configure for critical instances only
Troubleshooting
Port Already in Use
Instance Name Conflict
Wrong Cluster
If instance connects to wrong cluster:Related Commands
See Also
CLI Overview
Learn more about Orphelix CLI