Take a look at k3os. It’s the same idea as RancherOS but built on k3s and containerd with the OS being defined as YAML.
https://k3os.io/