Service Configuration
Worker Services
The following is a full reference for all the fields that can be set for a worker service in porter.yaml
.
- autoscaling - the autoscaling configuration for the service.
- enabled - whether autoscaling is enabled or not.
- minInstances - the minimum number of instances to run.
- maxInstances - the maximum number of instances to run.
- cpuThresholdPercent - the CPU threshold percentage to trigger autoscaling at.
- memoryThresholdPercent - the memory threshold percentage to trigger autoscaling at.
autoscaling
object
- optional
All fields are optional.