Cloud Development Kit for Kubernetes
Project description
cdk8s
Cloud Development Kit for Kubernetes
cdk8s is a software development framework for defining Kubernetes applications using rich object-oriented APIs. It allows developers to leverage the full power of software in order to define abstract components called "constructs" which compose Kubernetes resources or other constructs into higher-level abstractions.
This library is the foundation of cdk8s. It includes base types that are used to define cdk8s applications.
Chart
The Chart
is a container that synthesizes a single Kubernetes manifest.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
class MyChart(Chart):
def __init__(self, scope, ns):
super().__init__(scope, ns)
During synthesis, charts collect all the ApiObject
nodes (recursively) and
emit a single YAML manifest that includes all these objects.
ApiObject
An ApiObject
is a construct that represents an entry in a Kubernetes manifest.
In most cases, you won't use ApiObject
directly but rather use classes that
are generated by the cdk8s CLI and extend this base class.
Testing
cdk8s bundles a set of test utilities under the Testing
class:
Testing.app()
returns anApp
object bound to a temporary output directory.Testing.synth(chart)
returns the Kubernetes manifest synthesized from a chart.
License
This project is distributed under the Apache License, Version 2.0.
This module is part of the cdk8s project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cdk8s-0.16.0.tar.gz
.
File metadata
- Download URL: cdk8s-0.16.0.tar.gz
- Upload date:
- Size: 155.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b990c5648b28fb36ce8354456af82f6f4d0e121b1940de01e32ae25b8800e6d2 |
|
MD5 | 55c1a22edf5bccab261624f34f0a31d7 |
|
BLAKE2b-256 | 2986af886a9e2cb2696c5ea60251679d56d31da629f755f0f7a8390e62481fcf |
File details
Details for the file cdk8s-0.16.0-py3-none-any.whl
.
File metadata
- Download URL: cdk8s-0.16.0-py3-none-any.whl
- Upload date:
- Size: 154.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c12c59657204deb4f66b3fc572266669afef6d0272fc9a5025c7e33222305df |
|
MD5 | 3581ce9df805eca86c2bd723eed4eac3 |
|
BLAKE2b-256 | 6c65c6eb3f070a7da0eeb5fd0fa208f1e83d95e0075e903e491c8091dac713ed |