Skip to content

Dynamic HA-Proxy and DNS update based on rancher metadata

Notifications You must be signed in to change notification settings

wbrauneis/rancher-haproxy-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Dynamic HA-Proxy and DNS update based on rancher metadata

This image starts confd that periodically polls the rancher metadata service so it autoconfigures a default load balancer and also updates records in a dns directory based on labels on other stacks.

The idea is forked from https://github.com/Mikroways/rancher-haproxy

How it works

  • Create your custom stack as usual
  • Configure your containers as mentioned in https://github.com/Mikroways/rancher-haproxy
  • Add an environment variable called DNS_SERVER to the container instantiated from this image pointing to you DNS server (either an IP adress or the domain name may be specified here).

Some reading that helps troubleshooting of might be interesting for further development

About

Dynamic HA-Proxy and DNS update based on rancher metadata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published