Fix default config in generic Mesos provider
Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
parent
b385ffaee7
commit
736f9b30ef
3 changed files with 11 additions and 2 deletions
|
@ -408,6 +408,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
|
||||||
|
|
|
@ -1050,12 +1050,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
|
||||||
|
|
||||||
|
@ -1068,8 +1070,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
|
||||||
|
|
|
@ -654,12 +654,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
|
||||||
|
|
||||||
|
@ -672,8 +674,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
|
||||||
|
|
Loading…
Reference in a new issue