nodedns

module
v0.0.0-...-de984a2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0

README

jrockway/nodedns

This is a small Kubernetes application that asks the Kubernetes API for a list of all nodes in the cluster, and then updates a DNS entry to contain them all.

Gotchas

A node's inclusion in the DNS record is gated on being scheduleable and Ready (the same logic that Kubernetes uses when including a node in a Service). This means that if all nodes become un-ready, we will delete all the DNS records. The NXDOMAIN that clients will see will be cached for the TTL set in your domain's SOA record, not the TTL that would be on the individual records.

Directories

Path Synopsis
cmd
nodedns
Command nodedns watches Kubernetes for changes to nodes, and updates a DNS record to contain the IP addresses of all nodes.
Command nodedns watches Kubernetes for changes to nodes, and updates a DNS record to contain the IP addresses of all nodes.
pkg
dns
DNS updates DNS records on DigitalOcean DNS.
DNS updates DNS records on DigitalOcean DNS.
k8s
Package k8s communicates with Kubernetes to watch nodes.
Package k8s communicates with Kubernetes to watch nodes.

Jump to

Keyboard shortcuts

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