Skip to content

Deployment

deployment_service_scale

Scale a service to N replicas without redeploy (min 0 = stop)

Tool

deployment_service_scale

Scale a service to N replicas without redeploy (min 0 = stop)

Scale a service to N replicas without redeploy (min 0 = stop)

Behavior

HTTP
POST /deployment/services/:id/scale

Arguments

NameTypeRequiredDescription
idstringNo description in the catalog.
replicasintegerNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
namestring
slugstring
probesobject
sourceobject
replicasinteger
createdAtstring
dependsOnarray
resourcesobject
updatedAtstring
sleepStatestring
idleMinutesinteger
scaleToZeroboolean
containerPortinteger
environmentIdstring
buildMachineTypestring
suspendedByBillingboolean
lastReplicasRunninginteger
scaleToZeroEligibilityobject

Try it

Scale a service to N replicas without redeploy (min 0 = stop).

When to use

Scale a service to N replicas without redeploy (min 0 = stop)

Example

Ask your agent something like this:

Scale a service to N replicas without redeploy (min 0 = stop).

The agent will invoke deployment_service_scale with these arguments:

{
  "id": "<id>",
  "replicas": "<replicas>"
}

Esc

Start typing to search the docs.

navigateselect