Profile system works similarly to https://github.com/didactiklabs/nixbook.
You only need to install the base NixOS iso.
Customization is done via the profiles
directories.
Install or upgrade with a simple command:
colmena apply
To upgrade kubernetes version you must do the following:
Run this with this repo to update the pkgs pinning:
npins add --name kubeadm github kubernetes kubernetes --at v1.31.1
colmena apply
Then for the first controlplane:
colmena exec --on <cp0> "sudo kubeadm upgrade apply v1.31.1 -y"
Then for others and workers:
colmena exec --on <worker01>,<worker02> "sudo kubeadm upgrade node"
Now get back to the repo and run:
npins add --name kubelet github kubernetes kubernetes --at v1.31.1
colmena apply