To scale a service, add the following code to the puppet manifest file:
docker::services {'redis_scale':
create => false,
scale => true,
service_name => 'redis',
replicas => '10',
}
To scale the service without creating a new one, include the the scale => true parameter and the create => false parameter.
In the code snippet given above, the service is scaled to 10.