Provider Configuration
Configure resource limits and node behavior.
Command Line Options
--max-cpu
Maximum CPU cores to allocate (default: all available).
kova-node start --max-cpu 4
--max-memory
Maximum RAM in gigabytes (default: 80% of total).
kova-node start --max-memory 8
--max-disk
Maximum disk space in GB (default: 100).
kova-node start --max-disk 50
--port
P2P network port (default: 4001).
kova-node start --port 4003
Full Example
kova-node start \
--max-cpu 4 \
--max-memory 8 \
--max-disk 100 \
--port 4001
Environment Variables
You can also configure via environment variables:
| Variable | Description |
|----------|-------------|
| KOVA_MAX_CPU | Maximum CPU cores |
| KOVA_MAX_MEMORY | Maximum memory in GB |
| KOVA_MAX_DISK | Maximum disk in GB |
| KOVA_PORT | P2P port |
| KOVA_ORCHESTRATOR_URL | Orchestrator API URL |
Resource Recommendations
| Workload Type | CPU | Memory | Disk | |---------------|-----|--------|------| | Light (static sites) | 0.5-1 | 512MB | 5GB | | Medium (APIs) | 1-2 | 1-2GB | 10GB | | Heavy (databases) | 2-4 | 4-8GB | 50GB+ |
Start with conservative limits and increase based on demand. Monitor resource usage to optimize your allocation.