feat: add the helm, buildah, k0s, nerdctl and buildkit roles #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/helm-buildah-roles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds five roles and wires them into the dev hosts.
helminstalls a pinned Helm release under/opt/helmand links thecommand.
buildahinstalls buildah with fuse-overlayfs for rootless builds.k0sinstalls a pinned single-node controller from the release binary,renders
/etc/k0s/k0s.yamlfromk0s_configand runs thek0scontrollerunit. When
k0s_kubeconfigis set, it also writes the admin kubeconfig withk0s kubeconfig admin, which gives helm a working config at the default path.nerdctlinstalls a pinned nerdctl release and renders/etc/nerdctl/nerdctl.tomlfromnerdctl_address,nerdctl_namespaceandnerdctl_snapshotter.buildkitinstalls a pinned BuildKit release, runs thebuildkitunit on/run/buildkit/buildkitd.sockand renders/etc/buildkit/buildkitd.tomlfrom
buildkit_config.dev_alekseigets helm and buildah.dev_deltareplaces k3s with k0s and getsnerdctl and buildkit; its host_vars point nerdctl at the k0s containerd socket
in the
k8s.ionamespace, configure the BuildKit containerd worker the sameway, and set
k0s_kubeconfig: /root/.kube/config.Rollout to dev_delta is done: k3s was uninstalled manually (the
delta-es-reponamespace was backed up to
/root/k3s-backup-20261110T211934Z.tar.gz), thenk0s, nerdctl and buildkit were applied and verified. The node is Ready, nerdctl
talks to the k0s containerd in the
k8s.ionamespace, a test image was builtwith BuildKit into that containerd, and helm lists releases through
/root/.kube/configwithout an explicit KUBECONFIG.buildah was dropped from dev_delta afterwards: the role is removed from its
playbook, the
buildah/fuse-overlayfspackages were purged, its leftoveroverlay mounts were unmounted, and
/var/lib/containers(the 37G image store,including the
delta-es-repoimages) was removed.