GithubHelp home page GithubHelp logo

yxh1990 / cdk8s Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cdk8s-team/cdk8s

0.0 1.0 0.0 3.58 MB

Define Kubernetes native apps and abstractions using object-oriented programming

Home Page: https://cdk8s.io

License: Apache License 2.0

Shell 0.16% TypeScript 30.96% JavaScript 0.24% Python 63.47% CSS 4.42% HTML 0.75%

cdk8s's Introduction

cdk8s

Cloud Development Kit for Kubernetes

Stability:Experimental 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.

Getting Started

Choose your weapon:

Examples

  • Hello! - a basic Kubernetes deployment
  • Web Service - an example of using constructs to template a web service
  • Podinfo - an example of high-level APIs for Kubernetes objects.

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):

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.

Roadmap

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

License

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

cdk8s's People

Contributors

tabern avatar campionfellin avatar actions-user avatar cmdallas avatar cynicaljoy avatar mbonig avatar brennerm avatar toricls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.