News for hackers. Stuff that matters.
Re:Polaris 1.0: Best Practices for Kubernetes Workloads by atombender on Tuesday June 02, 2020 @02:25PM (#23394266)
I wonder if they looked at Cue [1], a data language that I think hits the sweet spot between readability and power.

Cue is a spiritual successor to Google's Jsonnet, but corrects the latter's design mistakes. Cue is quite simple, but also extremely readable. It looks ideal for the sort of data-level validations that Polaris wants to do, without having to express a DSL in YAML (which should be an antipattern by now) to do it.

[1] https://cuelang.org/docs/tutorials/tour/intro/

Re:Polaris 1.0: Best Practices for Kubernetes Workloads by sandGorgon on Tuesday June 02, 2020 @03:08PM (#23394889)
Here's a much nicer explanation by the author. https://github.com/cuelang/cue/issues/33
Re:Polaris 1.0: Best Practices for Kubernetes Workloads by bbrennan on Wednesday June 03, 2020 @09:31AM (#23403119)
Cue looks very cool! We hadn't heard of it when implementing custom checks, but looks like it would have been a contender