Pkl: Safe and Maintainable Config for Java Apps and Infrastructure
summary
Pickle is an Apple-created configuration language that compiles to YAML/JSON with an IntelliJ plugin and a command-line evaluator, providing static types and constraints (nullable, type aliases, enums), functions, lists/mappings, and a standard library (regex, durations). Libraries shown include Kubernetes and CloudFormation bindings plus a Spring integration that generates type-safe config classes at build time. Examples: a GitHub Actions config shrinks ~1,000 lines of YAML to 253 lines of Pickle; a CFN extras library automates domain provisioning and deploys via AWS Rain preview, and everything compiles and runs as expected.
AI-written summary · about
chapters (18)
- 0:00Introduction to safe config
- 3:52What is Pkl language
- 5:34Basic Pkl syntax and types
- 8:04Type constraints and safety
- 10:57Classes and nullability
- 13:25Comments and doc strings
- 14:50Type aliases and enums
- 17:42Data structures and loops
- 20:30Visibility and templates
- 23:46Mappings and sets
- 25:34Functions and collections
- 27:17Libraries and reusability
- 35:59Pkl with Spring Boot
- 39:52Kubernetes with Pkl
- 45:52CloudFormation with Pkl
- 51:39GitHub Actions with Pkl
- 53:27Resources and ecosystem
- 58:35Q&A and closing
related talks
51mPkl: Safe and Maintainable Config for Java Apps and Infrastructure
46mPkl: Safe & Maintainable Config for Apps & Infrastructure
02h 09mKubernetes Distilled - an in depth guide for the busy Java developer
48mDo you know these Libraries?
40mStop configuring infrastructure, start coding it!
35mDeploy and update Jakarta EE & MicroProfile applications at light speed with Paketo
47mCuttlefish Easing the Pain of Configuration
34mInfrastructure as Software
