Add support for several ECS backends
This commit is contained in:
parent
05665f4eec
commit
8765494cbd
7 changed files with 268 additions and 95 deletions
21
docs/toml.md
21
docs/toml.md
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue