forked from Ivasoft/traefik
Fix default config in generic Mesos provider
Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
@@ -392,6 +392,9 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
|
|||||||
defaultMesos.Endpoint = "http://127.0.0.1:5050"
|
defaultMesos.Endpoint = "http://127.0.0.1:5050"
|
||||||
defaultMesos.ExposedByDefault = true
|
defaultMesos.ExposedByDefault = true
|
||||||
defaultMesos.Constraints = types.Constraints{}
|
defaultMesos.Constraints = types.Constraints{}
|
||||||
|
defaultMesos.RefreshSeconds = 30
|
||||||
|
defaultMesos.ZkDetectionTimeout = 30
|
||||||
|
defaultMesos.StateTimeoutSecond = 30
|
||||||
|
|
||||||
//default ECS
|
//default ECS
|
||||||
var defaultECS provider.ECS
|
var defaultECS provider.ECS
|
||||||
|
|||||||
@@ -1005,12 +1005,14 @@ domain = "mesos.localhost"
|
|||||||
# Zookeeper timeout (in seconds)
|
# Zookeeper timeout (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# ZkDetectionTimeout = 30
|
# ZkDetectionTimeout = 30
|
||||||
|
|
||||||
# Polling interval (in seconds)
|
# Polling interval (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# RefreshSeconds = 30
|
# RefreshSeconds = 30
|
||||||
|
|
||||||
@@ -1023,8 +1025,9 @@ domain = "mesos.localhost"
|
|||||||
# HTTP Timeout (in seconds)
|
# HTTP Timeout (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# StateTimeoutSecond = "host"
|
# StateTimeoutSecond = "30"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Kubernetes Ingress backend
|
## Kubernetes Ingress backend
|
||||||
|
|||||||
@@ -630,12 +630,14 @@
|
|||||||
# Zookeeper timeout (in seconds)
|
# Zookeeper timeout (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# ZkDetectionTimeout = 30
|
# ZkDetectionTimeout = 30
|
||||||
|
|
||||||
# Polling interval (in seconds)
|
# Polling interval (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# RefreshSeconds = 30
|
# RefreshSeconds = 30
|
||||||
|
|
||||||
@@ -648,8 +650,9 @@
|
|||||||
# HTTP Timeout (in seconds)
|
# HTTP Timeout (in seconds)
|
||||||
#
|
#
|
||||||
# Optional
|
# Optional
|
||||||
|
# Default: 30
|
||||||
#
|
#
|
||||||
# StateTimeoutSecond = "host"
|
# StateTimeoutSecond = "30"
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Kubernetes Ingress configuration backend
|
# Kubernetes Ingress configuration backend
|
||||||
|
|||||||
Reference in New Issue
Block a user