Skip to main content

CA cdk8s Constructs

This repository contains a collection of opinionated cdk8s constructs that are commonly used in CA applications.

Installation

The project is available on PyPi under ca-cdk8s-constructs. Use your project manager of choice to install it.

Features

There are currently constructs available for:

  • Horizontal Pod Autoscaler
  • Vertical Pod Autoscaler
  • Pod Disruption Budget
  • Container Resources
  • cdk8s Helm Chart

Please see the resource docstrings or the Github Wiki for usage information.

To request new constructs, please raise an issue in the GitHub repository.

Custom Resource Definitions

The CRDs are found in the cdk8s.yaml file, which contains a list of URLs to the CRD definitions.

The generated classes are imported into the ca_cdk8s_constructs/imports directory.

If the CRDs are updated, the imports need to be refreshed. There is an Actions workflow that will run weekly to refresh the imports if there are any changes.

Manually Refreshing CRD Imports

To refresh the CRD imports, run the following command:

cdk8s import --output ca_cdk8s_constructs/imports

Versioning

New versions of this library will be released via Github Releases and will follow the Semantic Versioning wherever possible.

Contributing

To develop this project you will need the following installed:

  • Just for running commands
  • uv for dependency management

Run just to see all available commands.

Releases

This project uses semantic versioning and versions must be bumped in accordance with SemVer rules.

The Justfile contains a helper command for making releases, just draft-release. To use it:

  1. Determine the release type (patch, minor, major)
  2. Run just draft-release <patch | minor | major>
  3. Approve the version bump if acceptable
  4. Check the staged changes and approve if acceptable
  5. Follow the link to the draft release and edit it to add details if requied
  6. Publish the release

Metadata

Release files for ca-cdk8s-constructs 5.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ca-cdk8s-constructs 5.2.1
File Size Uploaded Provenance Actions
ca_cdk8s_constructs-5.2.1.tar.gz 151.7 kB Without provenance Details for ca_cdk8s_constructs-5.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ca-cdk8s-constructs 5.2.1
File Interpreter ABI Platform Actions
ca_cdk8s_constructs-5.2.1-py3-none-any.whl Python 3 none any Details for ca_cdk8s_constructs-5.2.1-py3-none-any.whl

Total release size: 302.6 kB

Release files / ca_cdk8s_constructs-5.2.1.tar.gz

Download URL ca_cdk8s_constructs-5.2.1.tar.gz
Size 151.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d52d557989fba2c64e09b316679d0496fe9aaee9253751699abebfbb141d193a
BLAKE2b-256 checksum
How to use checksums
be2acfe0e79aed58ca5d83687d1b7d7dc38fcf9bf08ccd596e95ab5bc2cb588f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ca_cdk8s_constructs-5.2.1-py3-none-any.whl

Download URL ca_cdk8s_constructs-5.2.1-py3-none-any.whl
Size 150.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
152e0f5ba1c34f351f34d63a9e66fc8761f8a8bc37bcd0379df8cc4f4fe362ce
BLAKE2b-256 checksum
How to use checksums
4b77793d685bb564352123d9e07372274e3f21af3b8a4715658b3d007313ac0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ca-cdk8s-constructs 5.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page