IBM Cloud - Structured Ideas

Welcome to the idea portal for structured ideas (i.e. product feature requests) - A more integrated and automated feedback system to connect your product improvement ideas with IBM product and engineering teams.  Happy submitting!

 

NOTE: All IBM employees must enter Ideas through this Ideas Portal.

Allow setting of autoscaling policy in an automated fashion

At the moment, whilst it is possible to create an AutoScaling service via the command line tools, you cannot configure auto-scaling policies without having to log into the dashboard.

This greatly restricts the options when trying to deploy an application in an automated fashion as it introduces a manual step for each and every application launched on BlueMix.

It would be good if you could configure the policy by adding parameters via a JSON hash as you can with some of the other services using the "CF" command.

As an example:

cf cs Auto-Scaling free TestApplication -c '{\"type\": \"RAM\", \"min_nodes\":\"4\", \"max_nodes\": \"20\", \"threshold\": \"85%\"}'

  • Matthew Macdonald-Wallace
  • Aug 23 2016
  • Closed
  • Attach files
  • Matthew Macdonald-Wallace commented
    August 23, 2016 03:12

    You can do this already using the bluemix cli instead of the cf cli:

    bluemix as policy-create > my-scaling-policy.json
    bluemix cf create-service Auto-Scaling free my-scaling-service
    bluemix as policy-attach my-application -p my-scaling-policy.json

  • and 1 more

NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions