Skip to content
dzervasPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

labsonnet

Build Kubernetes workloads for Tanka from container images.

For development, run direnv allow to load the flake shell through nix-direnv, or enter it directly with nix develop. The shell provides Jsonnet, jb, and Python 3; these tools can also be installed separately.

jb install
python3 -m unittest discover -s tests -v

Python tests use standard-library unittest and the Jsonnet CLI to fully render fixtures and check composition, resource relationships, and safety boundaries. No cluster or Python packages are required. Jsonnet dependencies in vendor/ are installed by jb. The same tests run in GitHub Actions on pull requests and pushes to main.

Documentation in docs

Usage and API documentation: workload generator and standalone helpers. See downstream helpers and overrides for local defaults and reusable wrappers.

The docs are generated by docsonnet from metadata in the library. To regenerate:

jb install
jsonnet -S -m docs -J vendor docs.jsonnet

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages