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
- From the Services tab, put your cursor over the name of the service you want to scale to reveal a gear symbol.
- Click the gear symbol and choose Scale.
- Enter the number of instances you would like, then click Scale Service.
- Click the name of your service to see the number of instances you specified.
Scale Your Service from the DC/OS CLI
Enter the following command from the CLI:
dcos marathon app update <app-id> instances=<number_of_desired_instances>
Enter the following command to view information about your services.
dcos marathon app list