Skip to content

Loadbalancer for Manta and SmartDataCenter

License

Notifications You must be signed in to change notification settings

TritonDataCenter/muppet

Repository files navigation

muppet

This repository is part of the Triton and Manta projects. For contribution guidelines, issues, and general documentation, visit the main Triton and Manta project pages.

Muppet is an HTTP loadbalancer (haproxy) and small daemon that interacts with ZooKeeper via registrar. The muppet daemon will update the loadbalancer as backend servers come and go.

See the documentation for more details.

Active Branches

There are currently two active branches of this repository, for the two active major versions of Manta. See the mantav2 overview document for details on major Manta versions.

  • master - For development of mantav2, the latest version of Manta. This is the version used by Triton.
  • mantav1 - For development of mantav1, the long term support maintenance version of Manta.

Development

Run make prepush before commits; otherwise, follow the Joyent Engineering Guidelines.

Testing

Run make test - you don't need to be privileged. The locally built haproxy is used as part of these tests: it expects to be able to use /tmp/haproxy as its control socket, and it will try to connect to certain local ports.