Earlier quoted context omitted.
Can I ask people who _don't_ use Kubernetes and maybe have architectures built on proprietary cloud services: how do you manage this?
Immutable infrastructure using Nix/NixOS.
NixOS, however, I will not recommend as your dev environment. Use a regular distro and use NixOS for your containers.