herzogf / homek8s

Kubernetes installer for your datacenter at home.
MIT License
1 stars 2 forks source link

change dhcp from static entries to dynamic, infinite leases #18

Closed herzogf closed 4 years ago

herzogf commented 4 years ago

I'm going to change the architecture of the provisioning process. Up to now I planned that the ansible scripts provision the gateway as well as the nodes, assuming that the nodes are set up upfront with pre-defined hostnames and added to the ansible inventory file. That complicates the provisioning of hosts as we have lots of manual steps and a rather static infrastructure. What I want: being able to just add a new hardware node to the network switch, boot it up (either via PXE oder a bootable usb stick) and let it be installed & added to k8s automatically.

For this to work we change the provisioning process:

In this ticket the dnsmasq config and /etc/hosts is changed to reflect this dynamic infinite lease mechanism.