AI AdminPanel Documentation

Change a Service's Size

A service's size is its CPU, memory and disk limit. You change it on the service page: open the Configuration row in the summary, select Change size…, edit the numbers and select Save. Platform operators only (permission services.manage).

What happens when you save

The panel stores the new limits, then changes the CPU and memory limits of the running app at once. The app is not restarted. For an app with several containers (for example an app and its database), every container of the service gets the new limits.

The message above the form says what happened:

MessageMeaningWhat to do
Saved. The running app has the new CPU and memory limits nowCPU and memory apply alreadyNothing
Saved. CPU and memory apply now; the disk limit applies at the next redeployDocker cannot change a disk limit on a running containerSelect Redeploy now when a short interruption suits you
Saved, but the running app kept its old limits: …Docker refused the change, with its reason. Lowering memory below what the app uses right now can be refusedSelect Redeploy now, or choose a value the app fits in
Saved. The new limits apply at the next redeployNothing is running yet, or the panel has no Docker connectionDeploy or redeploy the service

Restart keeps a container as it is, so it does not apply a waiting limit. Redeploy creates the containers again with the saved limits.

A GPU is never changed here: it is chosen at deploy time.

From the API or an agent

PUT /api/v1/services/{id}/resource-limits and the MCP tool update_resource_limits do the same thing. Their answer carries liveApply: live, containers, redeployNeeded (the limits that wait for a redeploy) and error. See Services API.