cdk8s

Define Kubernetes native apps and abstractions using object-oriented programming

  • 所有者: cdk8s-team/cdk8s
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Cloud Development Kit for Kubernetes

Stability:Alpha
Release
npm version
PyPI version
NuGet version
Maven Central
homebrew

cdk8s is a software development framework for defining Kubernetes
applications and reusable abstractions using familiar programming languages and
rich object-oriented APIs. cdk8s generates pure Kubernetes YAML - you can use
cdk8s to define applications for any Kubernetes cluster running anywhere.

This is an early-stage, experimental project built with ❤️ by AWS. We encourage you to try it out, leave feedback, and jump in to help!

Contents:

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.

At a glance

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.

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.

License

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

主要指標

概覽
名稱與所有者cdk8s-team/cdk8s
主編程語言JavaScript
編程語言Shell (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2017-10-04 19:27:51
推送於2025-06-01 09:07:24
最后一次提交2025-06-01 12:04:04
發布數47
最新版本名稱redirect (發布於 )
第一版名稱v0.1.2 (發布於 )
用户参与
星數4.6k
關注者數46
派生數302
提交數2.1k
已啟用問題?
問題數442
打開的問題數88
拉請求數1887
打開的拉請求數0
關閉的拉請求數115
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?