Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

korex_labs_kmap-1.0.0.tar.gz (193.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

korex_labs_kmap-1.0.0-py3-none-any.whl (266.8 kB view details)

Uploaded Python 3

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

Hashes for korex_labs_kmap-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ce335a44a95924dc3c40124c2f5fdde57c3dd4e16e1687c06d818c30597c89e7
MD5 da8c8d76e139eed07c2979aacaf37868
BLAKE2b-256 be2bbb0a4e34c68cb0e2607a77d1b905c055736f654266a01b6322a462316b50

See more details on using hashes here.

Provenance

The following attestation bundles were made for korex_labs_kmap-1.0.0.tar.gz:

Publisher: ci.yml on korex-labs/kmap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for korex_labs_kmap-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd62faefbd9a018df195c715555af5a06e2f07a32419d99165bd8b5f68a6e106
MD5 0406fbeff1c3a410e787c3bf9255fa12
BLAKE2b-256 5077da80b066dc690e46802f464467f41cd832f6f4541163ea5006eeefa900f5

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page