Scale
Learn how to scale your Piglet Run resources up or down.
Overview
Piglet Run supports scaling:
- Database: Adjust PostgreSQL resources
- Storage: Expand disk capacity
- Services: Scale service resources
Quick Scale
Scale database resources:
Scale Database
Increase Resources
Adjust Connection Limits
Configure Shared Buffers
Scale Storage
Expand Disk
Add Storage Volume
Scale Services
VS Code Server
JupyterLab
Resource Limits
View current resource allocation:
Example output:
Configuration
Scale settings in /etc/piglet/resources.yml:
Best Practices
- Monitor resource usage before scaling
- Scale gradually to avoid disruption
- Test changes in development first
Next Steps
- Set up Monitoring
- Learn about Architecture