afbjorklund / buildroot4kubernetes

Minimal linux distribution for running kubernetes ("boot2kubeadm")

Home Page:https://kutter-os.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migration to buildroot 2022.02

jibanes opened this issue · comments

buildroot4kubernetes seems to work fine on buildroot-2022.02.x (stable); necessary changes:
genimage-bios.cfg: requires holes = {"(440; 512)"} in partition boot, as such:

  partition boot {
    in-partition-table = "no"
    image = "boot.img"
    offset = 0
    size = 512
    holes = {"(440; 512)"}
  }

I also recommend upgrading to the latest kernel, in buildroot_defconfig:
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.186"

Thanks, will do

Juggling a couple of different builds, was contemplating UEFI - but I think I will leave these as BIOS (and RPi) for now...

Minikube has the other ISOs

Thank you

If time allows, maybe also upgrade to Go 1.18.

At the moment, Kubernetes dictates the Go version used...

i.e. using the same go version as the official builds do

https://github.com/kubernetes/kubernetes/blob/v1.23.5/build/build-image/cross/VERSION

Thanks, I didn't know there was such strong dependency.

Thanks, I didn't know there was such strong dependency.

There isn't, but easier to stay with the tested version ?

Unfortunately, they normally require latest/greatest go.
So doesn't always work, to stay with the system version.

But I think that Kubernetes 1.24 is currently using go1.18

Updated to Buildroot 2022.02, ran into some cgroups v2 issues. :-(

I think I found the missing config, but in my book it is still unstable...