Sign inSign up

utopiaplanitia/dnslb

By utopiaplanitia

Updated about 5 years ago

Image
0

1M+

utopiaplanitia/dnslb repository overview

DNSLB

DNS Load Balancer runs as a sidecar for ingress and apiserver pods.

Its purpose is to manage DNS entries, during node drains and failures.

It currently only supports cloudflare.

Life cycle

While running, it checks the local port and adds or removes (on failure) its own IP to the subdomain.

Process termination removes the local IP entries from the subdomain and waits 120 seconds for DNS TTL.

In case the node shut down without warning, a cronjob checks all DNS endpoints and removes unhealthy IPs.

Config

System variables
NameDefault valueRequiredPurpose
CF_API_TOKEN""Used to log in to cloudflares API.
CF_API_KEY""Used together with CF_API_EMAIL to log in to cloudflares API.
CF_API_EMAIL""Used together with CF_API_KEY to log in to cloudflares API.
CF_ZONEyesDefines the Domain to use.
CF_SUBDOMAINyes
Arguments
NameDefault valueRequiredPurpose
--portyesPorts required to be open. Can be used multiple times.
--ipv4truenoEnable or disable IPv4 for networking.
--ipv6truenoEnable or disable IPv6 for networking.

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

about 5 years ago

docker pull utopiaplanitia/dnslb