Kubernetes architecture map generator for Structurizr and LikeC4.
Project description
kmap
kmap discovers Kubernetes workloads, builds a normalized architecture model, and renders documentation for Structurizr and LikeC4.
kmap is not a LikeC4-from-Structurizr converter. Kubernetes inspection and product configuration are the source inputs; Structurizr and LikeC4 are renderer outputs.
Install
pip install kmap
For development:
pip install -e '.[dev]'
Quick start
Copy one of the generic examples:
cp config/example.minimum.yaml config/my-product.yaml
kmap validate-config config/my-product.yaml
kmap run-all --config config/my-product.yaml --data-mode mocked --mock-seed demo --no-exec
By default, run kmap from the project root. Paths resolve under the current directory:
config/
Likec4/
Structurizr/
Inventory/
artifacts/buckets/
.tmp/
Tool-level defaults can be stored in kmap.yaml. Start from kmap.yaml.example.
Common commands
kmap validate-config config/example.minimum.yaml
kmap render-inventory
kmap validate-likec4 --root Likec4
kmap validate-structurizr --root Structurizr
kmap view example-product
The source checkout also keeps python kmap.py ... as a compatibility shim.
Documentation
- INSTALL.md - installation and runtime dependencies.
- DEVELOP.md - development workflow and repository layout.
- GENERATION_RULES.md - model and renderer contract.
- CONTRIBUTING.md - contribution rules.
- SECURITY.md - security and data safety notes.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file korex_labs_kmap-1.0.0.tar.gz.
File metadata
- Download URL: korex_labs_kmap-1.0.0.tar.gz
- Upload date:
- Size: 193.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce335a44a95924dc3c40124c2f5fdde57c3dd4e16e1687c06d818c30597c89e7
|
|
| MD5 |
da8c8d76e139eed07c2979aacaf37868
|
|
| BLAKE2b-256 |
be2bbb0a4e34c68cb0e2607a77d1b905c055736f654266a01b6322a462316b50
|
Provenance
The following attestation bundles were made for korex_labs_kmap-1.0.0.tar.gz:
Publisher:
ci.yml on korex-labs/kmap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
korex_labs_kmap-1.0.0.tar.gz -
Subject digest:
ce335a44a95924dc3c40124c2f5fdde57c3dd4e16e1687c06d818c30597c89e7 - Sigstore transparency entry: 1765816627
- Sigstore integration time:
-
Permalink:
korex-labs/kmap@cf7135e05b226a09b6bff77719d5c8af9887b433 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/korex-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@cf7135e05b226a09b6bff77719d5c8af9887b433 -
Trigger Event:
push
-
Statement type:
File details
Details for the file korex_labs_kmap-1.0.0-py3-none-any.whl.
File metadata
- Download URL: korex_labs_kmap-1.0.0-py3-none-any.whl
- Upload date:
- Size: 266.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd62faefbd9a018df195c715555af5a06e2f07a32419d99165bd8b5f68a6e106
|
|
| MD5 |
0406fbeff1c3a410e787c3bf9255fa12
|
|
| BLAKE2b-256 |
5077da80b066dc690e46802f464467f41cd832f6f4541163ea5006eeefa900f5
|
Provenance
The following attestation bundles were made for korex_labs_kmap-1.0.0-py3-none-any.whl:
Publisher:
ci.yml on korex-labs/kmap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
korex_labs_kmap-1.0.0-py3-none-any.whl -
Subject digest:
bd62faefbd9a018df195c715555af5a06e2f07a32419d99165bd8b5f68a6e106 - Sigstore transparency entry: 1765817075
- Sigstore integration time:
-
Permalink:
korex-labs/kmap@cf7135e05b226a09b6bff77719d5c8af9887b433 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/korex-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@cf7135e05b226a09b6bff77719d5c8af9887b433 -
Trigger Event:
push
-
Statement type: