feat: add the helm, buildah, k0s, nerdctl and buildkit roles #44

Merged
aleksei merged 4 commits from feat/helm-buildah-roles into main 2026-11-14 22:35:34 +00:00
Owner

Adds five roles and wires them into the dev hosts.

  • helm installs a pinned Helm release under /opt/helm and links the
    command.
  • buildah installs buildah with fuse-overlayfs for rootless builds.
  • k0s installs a pinned single-node controller from the release binary,
    renders /etc/k0s/k0s.yaml from k0s_config and runs the k0scontroller
    unit. When k0s_kubeconfig is set, it also writes the admin kubeconfig with
    k0s kubeconfig admin, which gives helm a working config at the default path.
  • nerdctl installs a pinned nerdctl release and renders
    /etc/nerdctl/nerdctl.toml from nerdctl_address, nerdctl_namespace and
    nerdctl_snapshotter.
  • buildkit installs a pinned BuildKit release, runs the buildkit unit on
    /run/buildkit/buildkitd.sock and renders /etc/buildkit/buildkitd.toml
    from buildkit_config.

dev_aleksei gets helm and buildah. dev_delta replaces k3s with k0s and gets
nerdctl and buildkit; its host_vars point nerdctl at the k0s containerd socket
in the k8s.io namespace, configure the BuildKit containerd worker the same
way, and set k0s_kubeconfig: /root/.kube/config.

Rollout to dev_delta is done: k3s was uninstalled manually (the delta-es-repo
namespace was backed up to /root/k3s-backup-20261110T211934Z.tar.gz), then
k0s, nerdctl and buildkit were applied and verified. The node is Ready, nerdctl
talks to the k0s containerd in the k8s.io namespace, a test image was built
with BuildKit into that containerd, and helm lists releases through
/root/.kube/config without an explicit KUBECONFIG.

buildah was dropped from dev_delta afterwards: the role is removed from its
playbook, the buildah/fuse-overlayfs packages were purged, its leftover
overlay mounts were unmounted, and /var/lib/containers (the 37G image store,
including the delta-es-repo images) was removed.

Adds five roles and wires them into the dev hosts. - `helm` installs a pinned Helm release under `/opt/helm` and links the command. - `buildah` installs buildah with fuse-overlayfs for rootless builds. - `k0s` installs a pinned single-node controller from the release binary, renders `/etc/k0s/k0s.yaml` from `k0s_config` and runs the `k0scontroller` unit. When `k0s_kubeconfig` is set, it also writes the admin kubeconfig with `k0s kubeconfig admin`, which gives helm a working config at the default path. - `nerdctl` installs a pinned nerdctl release and renders `/etc/nerdctl/nerdctl.toml` from `nerdctl_address`, `nerdctl_namespace` and `nerdctl_snapshotter`. - `buildkit` installs a pinned BuildKit release, runs the `buildkit` unit on `/run/buildkit/buildkitd.sock` and renders `/etc/buildkit/buildkitd.toml` from `buildkit_config`. `dev_aleksei` gets helm and buildah. `dev_delta` replaces k3s with k0s and gets nerdctl and buildkit; its host_vars point nerdctl at the k0s containerd socket in the `k8s.io` namespace, configure the BuildKit containerd worker the same way, and set `k0s_kubeconfig: /root/.kube/config`. Rollout to dev_delta is done: k3s was uninstalled manually (the `delta-es-repo` namespace was backed up to `/root/k3s-backup-20261110T211934Z.tar.gz`), then k0s, nerdctl and buildkit were applied and verified. The node is Ready, nerdctl talks to the k0s containerd in the `k8s.io` namespace, a test image was built with BuildKit into that containerd, and helm lists releases through `/root/.kube/config` without an explicit KUBECONFIG. buildah was dropped from dev_delta afterwards: the role is removed from its playbook, the `buildah`/`fuse-overlayfs` packages were purged, its leftover overlay mounts were unmounted, and `/var/lib/containers` (the 37G image store, including the `delta-es-repo` images) was removed.
aleksei deleted branch feat/helm-buildah-roles 2026-11-14 22:35:34 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/infra!44
No description provided.