mprove Rancher provider functionality:

- Improves default filtering behavior to filter by container health/healthState
- Optionally allows filtering by service health/healthState
- Allows configuration of refresh interval
This commit is contained in:
Matthew Kelch 2017-04-29 15:37:54 -04:00
parent e2fdc27d64
commit 44db6e9290
5 changed files with 205 additions and 22 deletions

View file

@ -1604,6 +1604,12 @@ domain = "rancher.localhost"
#
Watch = true
# Polling interval (in seconds)
#
# Optional
#
RefreshSeconds = 15
# Expose Rancher services by default in traefik
#
# Optional
@ -1611,6 +1617,13 @@ Watch = true
#
ExposedByDefault = false
# Filter services with unhealthy states and health states
#
# Optional
# Default: false
#
EnableServiceHealthFilter = false
# Endpoint to use when connecting to Rancher
#
# Required