Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created March 8, 2014 17:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbayer/9435262 to your computer and use it in GitHub Desktop.
Save jbayer/9435262 to your computer and use it in GitHub Desktop.
example of scaling to a 4GB app on run.pivotal.io
$ cf apps
Getting apps in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
name requested state instances memory disk urls
hello-java-james stopped 0/1 512M 1G hello-java-james.cfapps.io
$ cf scale hello-java-james -m 4G
This will cause the app to restage. Are you sure you want to scale hello-java-james? y
Scaling app hello-java-james in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
App hello-java-james is already stopped
Starting app hello-java-james in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
0 of 1 instances running, 1 starting
1 of 1 instances running
App started
Showing health and status for app hello-java-james in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
requested state: started
instances: 1/1
usage: 4G x 1 instances
urls: hello-java-james.cfapps.io
state since cpu memory disk
#0 running 2014-03-08 09:15:20 AM 0.0% 189.1M of 4G 110.7M of 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment