~/talk

Go from Kubernetes YAML to software engineer with CDK8s

Talkat Conf42 Kube Native 2023 · on Thursday, 2023-09-28· [kubernetes, developer-experience]
slides:none on file

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

  1. 0:00intro
  2. 0:27preamble
  3. 1:08yaml: yelling at my laptop
  4. 2:53kubernetes yaml
  5. 3:46the cdk8s approach: infrastructure as actual code
  6. 4:03cdk8s in a nutshell
  7. 4:30cdk for kubernetes (cdk8s)
  8. 5:44open source cdk, for everyone!
  9. 7:03working with cdk8s
  10. 7:44init - scaffold a project
  11. 8:17import - get k8s resources as code
  12. 9:42model your k8s manifests as code
  13. 10:05the anatomy of the main code
  14. 11:24code completion and inline documentation
  15. 12:26http echo server - with cdk8s
  16. 14:26synthesize the k8s manifests
  17. 15:15deploy the manifests
  18. 16:18publish your code as a re-usable package
  19. 17:42how cdk8s+ reduces cognitive load with abstractions
  20. 18:27construct levels
  21. 20:20http echo server - with cdk8s
  22. 22:19clean code
  23. 26:14why should i code my infrastructure
  24. 27:37why not?
  25. 29:41resources
  26. 31:04give feedback, thank you!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.