My idea is to run a Kubernetes Cluster with some of the nodes being Raspberry Pi's. This approach would allow me to run a cluster of sensors while using all the benefits Kubernetes offers as a resource scheduler and manager. I managed to iPXE boot the devices with piPXE already and load a more or less customized version of Flatcar using the approach described in the official documentation. Sensors usually use GPIO pins to communicate with the Raspberry Pi but I simply can not make it work.
A famous library used to handle GPIO communication with bindings to Python is pigpio but it seems that I can not allocate a mailbox of DMA memory due to the following error:
According to the owner of the repository this is related to a Ubuntu kernel config change specific to Raspberry Pis. At this stage I am out of ideas how to fix this.