From 45efe11bd4948ca200fbbe1a80240e34b7fdab6a Mon Sep 17 00:00:00 2001 From: Nicola Kabar Date: Mon, 13 Feb 2017 13:50:57 -0800 Subject: [PATCH] updating template parameters and cli command updating template parameters and launch cli to match D4AWS --- datacenter/install/aws.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/datacenter/install/aws.md b/datacenter/install/aws.md index 5e92493eb3..c196c29def 100644 --- a/datacenter/install/aws.md +++ b/datacenter/install/aws.md @@ -92,6 +92,34 @@ Docker Datacenter Password Docker Datacenter License in JSON format or an S3 URL to download it. You can get a trial license [here](https://store.docker.com/bundles/docker-datacenter) +#### EnableSystemPrune + +Enable if you want Docker for AWS to automatically cleanup unused space on your swarm nodes. + +When enabled, `docker system prune` will run staggered every day, starting at 1:42AM UTC on both workers and managers. The prune times are staggered slightly so that not all nodes will be pruned at the same time. This limits resource spikes on the swarm. + +Pruning removes the following: +- All stopped containers +- All volumes not used by at least one container +- All dangling images +- All unused networks + +#### EnableCloudWatchLogs +Enable if you want Docker to send your container logs to CloudWatch. ("yes", "no") Defaults to yes. + +#### WorkerDiskSize +Size of Workers's ephemeral storage volume in GiB (20 - 1024). + +#### WorkerDiskType +Worker ephemeral storage volume type ("standard", "gp2"). + +#### ManagerDiskSize +Size of Manager's ephemeral storage volume in GiB (20 - 1024) + +#### ManagerDiskType +Manager ephemeral storage volume type ("standard", "gp2") + + ## Installation @@ -134,6 +162,11 @@ run the command directly using it. ParameterKey=ManagerSize,ParameterValue= \ ParameterKey=DDCUsernameSet,ParameterValue= \ ParameterKey=DDCPasswordSet,ParameterValue= \ + ParameterKey=EnableSystemPrune,ParameterValue= \ + ParameterKey=ManagerDiskSize,ParameterValue= \ + ParameterKey=ManagerDiskType,ParameterValue= \ + ParameterKey=WorkerDiskSize,ParameterValue= \ + ParameterKey=WorkerDiskType,ParameterValue= \ ParameterKey=License,ParameterValue= \ --template-url "{{ template_url }}" ```