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.1.tar.gz (192.9 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.1-py3-none-any.whl (266.8 kB view details)

Uploaded Python 3

File details

Details for the file korex_labs_kmap-1.0.1.tar.gz.

File metadata

  • Download URL: korex_labs_kmap-1.0.1.tar.gz
  • Upload date:
  • Size: 192.9 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.1.tar.gz
Algorithm Hash digest
SHA256 9de2dbefa0e835bced7f15a092e7bcdf0753a5604463c54ef9afab28390c8d29
MD5 4bb6b04592dd00a3ed6a25dea0721d73
BLAKE2b-256 998c6cf77ed9c310564c357b38d268cb1a4d04918620a898aa66b60fa209c51a

See more details on using hashes here.

Provenance

The following attestation bundles were made for korex_labs_kmap-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: korex_labs_kmap-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 349a7e60474c18c095884c22a78045146fb6e081e8b61b443fbaab994530ac08
MD5 31630f2edd6aa0368023551e2f261974
BLAKE2b-256 9d23f79a59b9db657f28d0427ccb440b23b068da4f72da497bfb558a10bd43a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for korex_labs_kmap-1.0.1-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