traefik/docs/content/providers/rancher.toml

21 lines
554 B
TOML
Raw Normal View History

# Enable Rancher Provider.
2019-07-01 09:30:05 +00:00
[providers.rancher]
# Expose Rancher services by default in Traefik.
2019-07-01 09:30:05 +00:00
exposedByDefault = true
# Enable watch Rancher changes.
2019-07-01 09:30:05 +00:00
watch = true
# Filter services with unhealthy states and inactive states.
2019-07-01 09:30:05 +00:00
enableServiceHealthFilter = true
# Defines the polling interval (in seconds).
2019-07-22 07:58:04 +00:00
refreshSeconds = 15
# Poll the Rancher metadata service for changes every `rancher.refreshSeconds`, which is less accurate
2019-07-01 09:30:05 +00:00
intervalPoll = false
# Prefix used for accessing the Rancher metadata service
2019-07-01 09:30:05 +00:00
prefix = "/latest"