Mesos generic backend

Træfɪk can be configured to use Mesos as a backend configuration:

  1. ################################################################
  2. # Mesos configuration backend
  3. ################################################################
  4. # Enable Mesos configuration backend
  5. #
  6. # Optional
  7. #
  8. [mesos]
  9. # Mesos server endpoint.
  10. # You can also specify multiple endpoint for Mesos:
  11. # endpoint = "192.168.35.40:5050,192.168.35.41:5050,192.168.35.42:5050"
  12. # endpoint = "zk://192.168.35.20:2181,192.168.35.21:2181,192.168.35.22:2181/mesos"
  13. #
  14. # Required
  15. #
  16. endpoint = "http://127.0.0.1:8080"
  17. # Enable watch Mesos changes
  18. #
  19. # Optional
  20. #
  21. watch = true
  22. # Default domain used.
  23. # Can be overridden by setting the "traefik.domain" label on an application.
  24. #
  25. # Required
  26. #
  27. domain = "mesos.localhost"
  28. # Override default configuration template. For advanced users :)
  29. #
  30. # Optional
  31. #
  32. # filename = "mesos.tmpl"
  33. # Expose Mesos apps by default in traefik
  34. #
  35. # Optional
  36. # Default: false
  37. #
  38. # ExposedByDefault = true
  39. # TLS client configuration. https://golang.org/pkg/crypto/tls/#Config
  40. #
  41. # Optional
  42. #
  43. # [mesos.TLS]
  44. # InsecureSkipVerify = true
  45. # Zookeeper timeout (in seconds)
  46. #
  47. # Optional
  48. # Default: 30
  49. #
  50. # ZkDetectionTimeout = 30
  51. # Polling interval (in seconds)
  52. #
  53. # Optional
  54. # Default: 30
  55. #
  56. # RefreshSeconds = 30
  57. # IP sources (e.g. host, docker, mesos, rkt)
  58. #
  59. # Optional
  60. #
  61. # IPSources = "host"
  62. # HTTP Timeout (in seconds)
  63. #
  64. # Optional
  65. # Default: 30
  66. #
  67. # StateTimeoutSecond = "30"