As we know, there are many CDK based libraries out there, and you might want to incorporate cdk8s along side other libraries in the same application.
For example, you can use cdk8s to define charts in an AWS CDK application, and apply them using the EKS construct library.
This ability, or interoperability, is based on the constructs programming model, which is the underlying technology on which all CDK libraries are built upon. All CDK libraries participating in the same application, must use the same major version of constructs, which currently has both a
3.x and a
10.x major version lines.
In order to incorporate
cdk8s in applications that use either version line, we need to maintain two major versions of
cdk8s, one for each version of
1.xcan be used along side libraries that depend on
For example: AWS CDK v1.
2.xcan be used along side libraries that depend on
For example: AWS CDK v2.