marathon-lb-ddns

command module
v0.0.0-...-5c459f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2017 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

DDNS(Dynamic DNS) for marathon-lb

Build Status

Configure DNS Records on Route53 for marathon-lb automatically.

How it works

This component subscribes events of marathon. When events fired, it retrieves IP addresses of marathon-lb and VHOST names of marathon apps. The hosts which marathon-lb running on are registered as A record, and marathon apps which has HAPROXY_{n}_VHOST label are registered as CNAME record corresponding to marathon-lb's A Records.

Figure 1

DNS records which was registered by this component are stored in ZooKeeper. This component delete DNS records only existing in ZooKeeper.
You should not to run this component concurrently.

How to use

Using marathon-lb.ddns.json.sample as template.

Options

name default description
m http://mrathon.mesos:8080 The url of marathon
group external The group of marathon-lb
domain marathon-lb.example.com The A record name of marathon-lb
z The HostedZoneId of Route53
lb-id /marathon-lb The id of marathon-lb
zk The url of zookeeper

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址