I recently took a deep dive into CUE after hearing about it in relation to `-o kyaml`, and I'm really impressed! I love how it can easily reference Go structs with the `cue get` command, making it a great fit for Kubernetes. I'm curious to know if there are any tools specifically tailored for CUE? It seems like an effective way to manage validation and simplify things like shared labels and annotations across different objects. I just find it exciting and want to leverage it for Kubernetes to avoid the hassle of long YAML files. Any recommendations?
1 Answer
Just a heads up, CUE has its drawbacks. For instance, the syntax can get tricky for certain operations, especially when you need to look up members in lists or perform deep merges. I've also heard there have been some issues with memory leaks and thread safety in the Go library, which might affect your experience.
I totally relate! I really wanted to love CUE too, but the developer experience can be quite frustrating sometimes. It seems like they’re always in the middle of optimizing things.