Scaling a Service

Scaling a Service

This tutorial shows how to scale a service using the DC/OS web interface and the CLI.

Scale Your Service from the DC/OS Web Interface

  1. From the Services tab, put your cursor over the name of the service you want to scale to reveal a gear symbol.
  2. Click the gear symbol and choose Scale.
  3. Enter the number of instances you would like, then click Scale Service.
  4. Click the name of your service to see the number of instances you specified.

Scale Your Service from the DC/OS CLI

  1. Enter the following command from the CLI:

    $ dcos marathon app update <app-id> instances=<number_of_desired_instances>
    
  2. Enter the following command to view information about your services.

    $ dcos marathon app list