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