Zookeeper Provider

Traefik can be configured to use Zookeeper as a provider.

  1. ################################################################
  2. # Zookeeper Provider
  3. ################################################################
  4. # Enable Zookeeper Provider.
  5. [zookeeper]
  6. # Zookeeper server endpoint.
  7. #
  8. # Required
  9. # Default: "127.0.0.1:2181"
  10. #
  11. endpoint = "127.0.0.1:2181"
  12. # Enable watch Zookeeper changes.
  13. #
  14. # Optional
  15. # Default: true
  16. #
  17. watch = true
  18. # Prefix used for KV store.
  19. #
  20. # Optional
  21. # Default: "traefik"
  22. #
  23. prefix = "traefik"
  24. # Override default configuration template.
  25. # For advanced users :)
  26. #
  27. # Optional
  28. #
  29. # filename = "zookeeper.tmpl"
  30. # Use Zookeeper user/pass authentication.
  31. #
  32. # Optional
  33. #
  34. # username = foo
  35. # password = bar
  36. # Enable Zookeeper TLS connection.
  37. #
  38. # Optional
  39. #
  40. # [zookeeper.tls]
  41. # ca = "/etc/ssl/ca.crt"
  42. # cert = "/etc/ssl/zookeeper.crt"
  43. # key = "/etc/ssl/zookeeper.key"
  44. # insecureSkipVerify = true

To enable constraints see provider-specific constraints section.

Please refer to the Key Value storage structure section to get documentation on Traefik KV structure.