psm accs scale

This command scales the specified Oracle Application Container Cloud Service application to increase or decrease its instance count or memory limit per instance.


psm accs scale 
-n|--app-name name 
[-i|--instances N] 
[-m|--memory NG] 
[-o|--mode rolling] 
[-of|--output-format json|html|short]


All parameters are required unless otherwise noted.

Command Option Description
-n, --app-name Name of the application.
-i, --instances (Optional) Number of application instances. The default is 1.
-m, --memory (Optional) Amount of memory in GB. The default is 1GB.
-o, ––mode (Optional) Restart mode for application instances. The only allowed value is rolling for a rolling restart. Omit this parameter for a concurrent restart.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


$ psm accs scale -n employees-app -i 2 -m 2G -of json

More Information

Exploring the Application Overview Page in Using Oracle Application Container Cloud Service