Constructs are the fundamental building block of cdk8s (Cloud Development Kit for Kubernetes) - an open-source framework (part of CNCF) with which you can define your Kubernetes applications using regular programming languages (instead of yaml
). In Getting started with cdk8s, you saw how to use the core cdk8s
library.
You can also use the cdk8s-plus
library (also covered this in a previous blog) to reduce the amount of boilerplate code you need to write. With cdk8s-plus
, creating a Kubernetes Deployment
, specifying its container (and other properties) and exposing it via a Service
is three function calls away?