-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all default values into config file (#26)
- Loading branch information
1 parent
3fdb831
commit a554351
Showing
2 changed files
with
114 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,32 @@ | ||
cloudprovider: {} | ||
cloudprovider: | ||
|
||
# ecs: {} | ||
# # scheduler_cpu: 1024 # Millicpu (1024ths of a CPU core) | ||
# # scheduler_mem: 4096 # Memory in MB | ||
# # worker_cpu: 4096 # Millicpu (1024ths of a CPU core) | ||
# # worker_mem: 16384 # Memory in MB | ||
# # n_workers: 2 | ||
ecs: | ||
fargate_scheduler: False # Use fargate mode for the scheduler | ||
fargate_workers: False # Use fargate mode for the workers | ||
scheduler_cpu: 1024 # Millicpu (1024ths of a CPU core) | ||
scheduler_mem: 4096 # Memory in MB | ||
worker_cpu: 4096 # Millicpu (1024ths of a CPU core) | ||
worker_mem: 16384 # Memory in MB | ||
worker_gpu: 0 # Number of GPUs for each worker | ||
n_workers: 0 # Number of workers to start the cluster with | ||
scheduler_timeout: '5 minutes' # Length of inactivity to wait before closing the cluster | ||
|
||
# # image: 'daskdev/dask:1.2.0' | ||
# # cluster_name_template: 'dask-{uuid}' # Template to use when creating a cluster | ||
# # cluster_arn: null # ARN of existing ECS cluster to use (if not set one will be created) | ||
# # execution_role_arn: null # Arn of existing execution role to use (if not set one will be created) | ||
# # task_role_arn: null # Arn of existing task role to use (if not set one will be created) | ||
image: 'daskdev/dask:latest' # Docker image to use for non GPU tasks | ||
gpu_image: 'rapidsai/rapidsai:latest' # Docker image to use for GPU tasks | ||
cluster_name_template: 'dask-{uuid}' # Template to use when creating a cluster | ||
cluster_arn: '' # ARN of existing ECS cluster to use (if not set one will be created) | ||
execution_role_arn: '' # Arn of existing execution role to use (if not set one will be created) | ||
task_role_arn: '' # Arn of existing task role to use (if not set one will be created) | ||
task_role_policies: [] # List of policy arns to attach to tasks (e.g S3 read only access) | ||
|
||
# # cloudwatch_logs_group: null # Name of existing cloudwatch logs group to use (if not set one will be created) | ||
# # cloudwatch_logs_stream_prefix: '{cluster_name}' # Stream prefix template | ||
# # cloudwatch_logs_default_retention: 30 # Number of days to retain logs (only applied if not using existing group) | ||
cloudwatch_logs_group: '' # Name of existing cloudwatch logs group to use (if not set one will be created) | ||
cloudwatch_logs_stream_prefix: '{cluster_name}' # Stream prefix template | ||
cloudwatch_logs_default_retention: 30 # Number of days to retain logs (only applied if not using existing group) | ||
|
||
# # vpc: default # VPC to use for tasks | ||
# # security_groups: [] # Security groups to use (if not set one will be created) | ||
vpc: 'default' # VPC to use for tasks | ||
subnets: [] # VPC subnets to use (will use all available if not set) | ||
security_groups: [] # Security groups to use (if not set one will be created) | ||
|
||
tags: {} # Tags to apply to all AWS resources created by the cluster manager | ||
|
||
skip_cleanup: False # Skip cleaning up of stale resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters