scale - Cloud Foundry CLI Reference Guide


NAME

scale - Change or view the instance count, disk space limit, and memory limit for an app

USAGE

cf scale APP_NAME [--process PROCESS] [-i INSTANCES] [-k DISK] [-m MEMORY] [-f] Modifying the app's disk or memory will cause the app to restart.

OPTIONS

-f

Force restart of app without prompt

-i

Number of instances

-k

Disk limit (e.g. 256M, 1024M, 1G)

-m

Memory limit (e.g. 256M, 1024M, 1G)

--process

App process to scale (Default: web)

ENVIRONMENT

CF_STARTUP_TIMEOUT=5 Max wait time for app instance startup, in minutes

SEE ALSO

push