News for hackers. Stuff that matters.
Re:Scaling Kubernetes to Thousands of CRDs by theptip on Monday August 15, 2022 @06:03PM (#32476049)
I do like this direction. What's the current state of the art for rendering the diffs? E.g. in Terraform your `terraform plan` will show whether the change requires a delete/create or just an edit.

Naively, if I just look at the raw CRD diff, that information won't be apparent.

Re:Scaling Kubernetes to Thousands of CRDs by negz on Monday August 15, 2022 @06:13PM (#32476161)
We've thought about a client-side tool to diff desired from most-recently-observed actual state, similar to tf plan. Nothing built yet though.

FWIW though we never automatically delete-and-recreate in Terraform fashion. Our thinking is that once Kubernetes supports it (or once we build an admission control webhook for it) we'd like to explicitly mark immutable fields as such, which would require you to explicitly delete-then-recreate. Little bit less declarative at the expense of being a lot less surprising given the constantly reconciling nature of our system.