Tinkerbell relies on network booting a server in order to prepare it to execute workflows. Boots is Tinkerbell's DHCP server, handling IP addresses and requests. It is also the TFTP server, serving iPXE and the initial installation image.
Boots is written in Go, and can built, run, and tested outside of the Tinkerbell stack. Take a look at the code in its GitHub repository: tinkerbell/boots.
What Boots does
When a Worker comes on-line for the first time, it PXE boots and sends a DHCP request to the Provisioner. Boots receives the request and assigns the Worker its IP Address as defined in the hardware data.
Next, Boots communicates over TFTP to download the iPXE script to the Worker.
The iPXE script tells the Worker to download and boot an in-memory operating system called Osie. From there you are inside an OS and you can do what you like, the most common action is to partition your hard drive and installing the actual operating system. Tinkerbell abstracts those actions with the concept of a workflow.
One of the core concepts behind Tinkerbell is network booting.
Let's imagine you are in a datacenter with hundreds of servers; it is not reasonable to go over all of the one by one with a USB stick to install the operating system you need. If you use Provisioner with an API, like Tinkerbell does, things get even more complicated as there isn't an operator running around with USB stick for every API request.
There are a lot of articles and use cases for netbooting, here a few that our contributors enjoyed or even wrote: