1
0
Fork 0

Add support for several ECS backends

This commit is contained in:
Michael 2017-08-22 11:46:03 +02:00 committed by Traefiker
parent 05665f4eec
commit 8765494cbd
7 changed files with 268 additions and 95 deletions

View file

@ -1708,10 +1708,16 @@ Træfik can be configured to use Amazon ECS as a backend configuration:
# ECS Cluster Name
#
# Optional
# Default: "default"
# Deprecated - Please use Clusters
#
Cluster = "default"
# Cluster = "default"
# ECS Clusters Name
#
# Optional
# Default: ["default"]
#
Clusters = ["default"]
# Enable watch ECS changes
#
@ -1720,6 +1726,13 @@ Cluster = "default"
#
Watch = true
# Enable auto discover ECS clusters
#
# Optional
# Default: false
#
AutoDiscoverClusters = false
# Polling interval (in seconds)
#
# Optional
@ -1780,6 +1793,8 @@ Træfik needs the following policy to read ECS information:
"Sid": "Traefik ECS read access",
"Effect": "Allow",
"Action": [
"ecs:ListClusters",
"ecs:DescribeClusters",
"ecs:ListTasks",
"ecs:DescribeTasks",
"ecs:DescribeContainerInstances",