Name identifier for worker component.
Number of worker replicas.Scaling Guidelines:
Considerations:
| Job Volume | Description | Recommended Replicas |
|---|---|---|
| Low | < 100 jobs/hour | 1-2 |
| Medium | 100-1000 jobs/hour | 2-4 |
| High | 1000-10000 jobs/hour | 4-8 |
| Very High | > 10000 jobs/hour | 8+ |
- Each worker replica increases database connection pool usage
- Monitor queue depth to determine if more workers are needed
- Scale horizontally rather than increasing resources per worker
worker.resources.*
Resource limits and requests for worker container.
CPU limit for worker pod.Sizing Guidelines: Workers have similar resource needs to web pods. Job complexity affects resource usage.
Memory limit for worker pod.Tuning: Monitor actual usage and adjust based on job requirements.
Guaranteed CPU allocation for worker pod.
Guaranteed memory allocation for worker pod.
Node selector for worker pod placement.Example:Use Cases:
- Separate background job processing from web traffic
- Ensure workers run on nodes with specific capabilities
- Control pod placement for optimal resource utilization
