Hi everyone!
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:
https://github.com/joan2937/pigpio/blob/c33738a320a3e28824af7807edafda440952c05d/pigpio.c#L7714
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.
What works:
Cheers,
Paul