News for hackers. Stuff that matters.
Re:Simple-twitter: A bare-bones Twitter clone implemented in... by anonytrary on Thursday November 21, 2019 @10:56PM (#21602287)
I don't think declarative architecture and kubernetes are mutually exclusive. Seems like you could write a declarative file (terraform, cloudformation, etc.) that deploys a dockerized app to a kubernetes cluster in AWS.
Re:Simple-twitter: A bare-bones Twitter clone implemented in... by arianvanp on Friday November 22, 2019 @07:12AM (#21604851)
Thing is; nixos has been architected for being declarative from the start. Whilst Kubernetes is a stateful REST API.

Sure you can emulate a declarative view on top of a mutable thing (Think React and virtualdom), but having a declarative core makes declarative deployments easier to manage and more elegant.

E.g. in Kubernetes automatically deleting a resource is still hard; It's hard to figure out when something is not "used" anymore.

In nix, you simply run `nix garbage-collect` and all the things that are not referenced by your declaration are automatically deleted.