Pkl, a Programming Language for Configuration
pkl-lang.org
Pkl, a Programming Language for Configuration
1–10 of 598 posts
Re: Pkl, a Programming Language for Configuration
#2Re: Pkl, a Programming Language for Configuration
#3Re: Pkl, a Programming Language for Configuration
#4Re: Pkl, a Programming Language for Configuration
#5Re: Pkl, a Programming Language for Configuration
#6I was a big believer in Helm for generating Kubernetes resources until I looked up and saw that we had created an impossible-to-validate, impossible-to-reason-about DSL in our values.yaml and that's when I realized we were at the end of our rope with Helm. We switched to Pkl for our Kubernetes resource generation -- it's delightful to maintain and reason about our deployments before execution time :)
Re: Pkl, a Programming Language for Configuration
#7My team migrated several kloc k8s configuration to pkl with great success. Internally we used to write alert definitions in pkl and it would generate configuration for 2 different monitoring tools, a pretty static documentation site and link it all together nicely.
Would gladly recommend this to anyone and I’m excited to be able to use this again.
Re: Pkl, a Programming Language for Configuration
#8Re: Pkl, a Programming Language for Configuration
#9Serious question - why not just use python?
For example, something like: "this number is be between 1 and 10" means you have to come up with a novel way to add validation, because it isn't built into the language.
Also, Pkl is meant to be usable everywhere. General purpose languages tend to be tied to their own ecosystem--imagine telling a Go developer that they need to install Python, set up virtualenv, and run pip install so they can configure their application. We'd like Pkl to be a simple tool that can be brought anywhere, and easily integrated into any system.
Re: Pkl, a Programming Language for Configuration
#10Language reference doesn't mention schemas either https://pkl-lang.org/main/current/language-reference/index.h...