• Stars
    star
    4,254
  • Rank 10,146 (Top 0.2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Define Kubernetes native apps and abstractions using object-oriented programming

Cloud Development Kit for Kubernetes

Website

View on Construct Hub

cdk8s is an open-source software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs. cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.

cdk8s is a Cloud Native Computing Foundation Sandbox Project, built with ❤️ at AWS. We encourage you to try it out, leave feedback, and jump in to help!

Contents:

Repositories

This project consists of multiple packages, maintained and released via the following repositories:

  • cdk8s - Core library. For historical reasons note that the cdk8s package is maintained in the cdk8s-team/cdk8s-core repository.
  • cdk8s-cli - Command-Line interface.
  • cdk8s-plus - High-Level constructs for Kubernetes core.

The current repository acts as an umbrella repository for cross module concerns, as well as the deployment of cdk8s.io

Overview

cdk8s apps are programs written in one of the supported programming languages. They are structured as a tree of constructs.

The root of the tree is an App construct. Within an app, users define any number of charts (classes that extend the Chart class). Each chart is synthesized into a separate Kubernetes manifest file. Charts are, in turn, composed of any number of constructs, and eventually from resources, which represent any Kubernetes resource, such as Pod, Service, Deployment, ReplicaSet, etc.

cdk8s apps only define Kubernetes applications, they don't actually apply them to the cluster. When an app is executed, it synthesizes all the charts defined within the app into the dist directory, and then those charts can be applied to any Kubernetes cluster using kubectl apply -f dist/chart.k8s.yaml or a GitOps tool like Flux.

cdk8s is based on the design concepts and technologies behind the AWS Cloud Development Kit, and can interoperate with AWS CDK constructs to define cloud-native applications that include both Kubernetes resources and other CDK constructs as first class citizens.

Read our blog or watch our CNCF webinar to learn more and see a live demo of cdk8s in action.

Getting Started

See the Getting Started guide in cdk8s Documentation.

Help & Feedback

Interacting with the community and the development team is a great way to contribute to the project. Please consider the following venues (in order):

Documentation

See cdk8s Documentation.

Examples

See our Examples Directory.

Roadmap

See our roadmap for details about our plans for the project.

Community

See Awesome cdk8s.

If you're a cdk8s user please consider adding your name to the ADOPTERS file.

Contributing

The cdk8s project adheres to the CNCF Code of Conduct.

We welcome community contributions and pull requests. See our contribution guide for more information on how to report issues, set up a development environment and submit code.

Join us for the cdk8s community meeting which takes place the 2nd Tuesday of the month at 9:00am Pacific Time.

CDK8s.io website

See Docs Directory.

License

This project is distributed under the Apache License, Version 2.0.

More Repositories

1

cdk8s-plus

A software development framework that provides high level abstractions for authoring Kubernetes applications.
TypeScript
131
star
2

cdk8s-core

Define Kubernetes native apps and abstractions using object-oriented programming
TypeScript
62
star
3

cdk8s-operator

Use CDK8s to build operators for Kubernetes custom resources
TypeScript
41
star
4

cdk8s-examples

Java
38
star
5

cdk8s-cli

TypeScript
37
star
6

cdk8s-image

An Image construct which takes care of building & pushing docker images for cdk8s
TypeScript
22
star
7

cdk8s-redis

Redis constructs for cdk8s
TypeScript
13
star
8

cdk8s-kubecon-2020

This repo includes the source code used in the KubeCon NA 2020 Session.
TypeScript
11
star
9

cdk8s-grafana

Grafana constructs for cdk8s
TypeScript
9
star
10

cdk8s-go

Go
7
star
11

cdk8s-projen-common

TypeScript
7
star
12

cdk8s-core-go

Go
6
star
13

cdk8s-cdktf-resolver

TypeScript
6
star
14

cdk8s-plus-go

Go
6
star
15

cdk8s-aws-cdk

AWS CDK Adapter for cdk8s
TypeScript
5
star
16

cdk8s-jenkins

TypeScript
4
star
17

cdk8s-plus-17

TypeScript
4
star
18

cdk8s-awscdk-resolver

TypeScript
3
star
19

cdk8s-kube-prometheus

CDK8s Variation of https://github.com/prometheus-operator/kube-prometheus
TypeScript
3
star
20

cdk8s-dashboard

Kubernetes dashboard cdk8s construct library
TypeScript
2
star
21

cdk8s-validation-plugin-example

Implementation example of a cdk8s validation plugin
TypeScript
2
star
22

cdk8s-ack-image-resizer

Java
2
star
23

cdk8s-dependabot-security-alerts

TypeScript
1
star
24

cdk8s-image-go

Go
1
star
25

cdk8s-operator-go

Go
1
star
26

cdk8s-grafana-go

Go
1
star
27

cdk8s-redis-go

Go
1
star
28

cdk8s-skooner

cdk8s construct for deploying the skooner dashboard
1
star
29

cdk8s-postgres

CDK8s construct for standing up Postgres Operator resources.
JavaScript
1
star
30

cdk8s-hasura

CDK8s construct for a Hasura graphql instance.
TypeScript
1
star