RHEMS JapanJA
hosts creator

hosts creator

A sidecar that distributes /etc/hosts to Kubernetes Pods and decouples application name resolution from CoreDNS. v0.1.0 was released in November 2026.

Finish name resolution inside the Pod

Host names listed in hosts_list and AWS RDS and ElastiCache endpoints are resolved at a fixed interval and written into /etc/hosts. Application name resolution completes in the OS hosts file, so it does not depend on the state of CoreDNS.

Running in large clusters

It has been pulled more than 160,000 times on Docker Hub and runs in clusters with over 10,000 Pods at RHEMS Japan. Resident memory is in the 7 MB range and CPU is around 0.05% of one core (measured with a 10 second TTL and eight host names).

Prerequisites and limitations

It needs permission to rewrite /etc/hosts, and DNS round-robin or weighting does not apply. IP changes are followed with a delay of the configured interval. You can validate the configuration and run a single pass, so it can be checked in advance even in sensitive environments.

hosts-creator website