Nixifying Kubernetes with Nix-csi, easykubenix and dinix
discourse.nixos.org·19h·
Flag this post

October 15, 2025, 1:53am 1

I’ve been working for a while on a couple of projects that are meant to come together to Nixify Kubernetes that I’d like to share. They’re not battle tested, docs are sparse and examples are rough.

easykubenix

easykubenix is very heavily inspired by kubenix. Both use the NixOS module system to render manifests. The main difference is that instead of codegen to replicate the full Kubernetes API surface in Nix I use (pkgs.formats.json {}).type to cover all possible resources, and to have API validation generate a script that spins up an ephemeral etcd+kube-apiserver and apply the manifests. It bundles a deployment script using kluctl which is an amazing deployment…

Similar Posts

Loading similar posts...