traefik/docs/content/providers/rancher.toml

21 lines
554 B
TOML
Raw Normal View History

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