Go from Kubernetes YAML to software engineer with CDK8s
summary
CDK8s converts language-native code (TypeScript/Python/Go/Java) into plain Kubernetes YAML via cdk8s synth, generating manifests that deploy with kubectl apply or any GitOps flow. The demo builds an HTTP echo app, imports k8s APIs (including CRDs), packages it as a reusable construct, and drops YAML that would be ~40 lines of hand-written manifests down to about 13 lines using cdk8s-plus helpers like exposeViaIngress. The output is standard k8s manifests, works on any cluster, and supports publishing libraries to Construct Hub.
AI-written summary · about
chapters (26)
- 0:00intro
- 0:27preamble
- 1:08yaml: yelling at my laptop
- 2:53kubernetes yaml
- 3:46the cdk8s approach: infrastructure as actual code
- 4:03cdk8s in a nutshell
- 4:30cdk for kubernetes (cdk8s)
- 5:44open source cdk, for everyone!
- 7:03working with cdk8s
- 7:44init - scaffold a project
- 8:17import - get k8s resources as code
- 9:42model your k8s manifests as code
- 10:05the anatomy of the main code
- 11:24code completion and inline documentation
- 12:26http echo server - with cdk8s
- 14:26synthesize the k8s manifests
- 15:15deploy the manifests
- 16:18publish your code as a re-usable package
- 17:42how cdk8s+ reduces cognitive load with abstractions
- 18:27construct levels
- 20:20http echo server - with cdk8s
- 22:19clean code
- 26:14why should i code my infrastructure
- 27:37why not?
- 29:41resources
- 31:04give feedback, thank you!
related talks
35mStop being a YAML engineer, be a software engr. with CDK8s
01h 17mTutorial: Say Goodbye to YAML Engineering with the CDK for K8s
21mAre you ready to delete some YAML?
16mSay goodbye to YAML engineering with the CDK for Kubernetes
18mSimplify Managing Your Applications on Kubernetes with CDK8S
32mRevolutionise your Kubernetes game with cdk8s
15mHow Kubernetes will change the way you code
27mProviding a Rich Interface to the Prometheus Operator
