PowerTools schedules your services based on group and lets you easily control resource allocations
Control how your services are scheduled, and how much ram and cpu they are allocated from your
This section does not apply to static components.
Each PowerTools service belongs to a group.
When you deploy a service, PowerTools automatically reconciles where to schedule your service based on the configuration
of the group found in the deployed
You can change a service's group by updating the schema and then redeploying.
You can easily control how much ram and cpu is allocated to your service by defining the
ram fields for each
applicable component in your schema.
To declare a static amount of resources:
components: - https-public mem: 128m cpu: 100m
You can also setup vertical autoscaling for your service by adding a range:
components: - https-public mem: 128m - 512m cpu: 100m - 500m
Behind the scenes, PowerTools will automatically set the CPU and MEM requests and limits for you.
The default unit for CPU is milliCPU, where 1000m means 1 core.
The default unit for MEM is MiB (mebibyte).
Currently, no memory or cpu limits are applied to services running using
pt dev or during
We will be adding support for remote build and dev soon!