Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
1 / 11
0

Code In, Cluster Out: Building Reproducible Edge Kubernetes with NixOS, K3s, and Forgejo

DEV Community·ces0712·about 1 month ago
#jgC30QNM
#why#nixos#runtime#edge#cluster#state
Reading 0:00
15s threshold

What if your entire Kubernetes edge cluster, from the kernel to the workload, was a single reproducible function? No drift. No snowflakes. No, "this node got fixed manually six months ago, and nobody remembers how." Just code in, cluster out. That question led me into a project that combines: infrastructure-nixos for the Raspberry Pi-hosted Forgejo control path edge-cluster-infra for Oracle networking, compute, and block storage infrastructure-secrets for the shared SOPS-managed secret layer nix-k3s-edge-cluster for the NixOS + K3s runtime and workload layer RustDesk as a real workload proof point A Raspberry Pi-hosted Forgejo instance, a Mac mini runner, and an Oracle edge node as the deployed target This post is the practical version of that story: what I built, what actually worked, what hurt, and why I think the most interesting thing here is not Nix syntax, but where the source of truth lives.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More