Skip to content
Snippets Groups Projects
user avatar
Gregor Cerar authored
dc3109a4
History

CMDT

CMDT is a monorepo of the following NEMO CMDT components and services:

  • CMDT API
    • Retrieves list of workloads from NEMO cluster.
    • Retrieves pod's metadata based on its name or uid: labels, status changes, number of replicas, and traffic stats (req/res rates and bytes, returned status codes, response time stats).
    • Overview of traffic to/from other pods.
    • Builds and returns tree representation of relations between pods, replicasets, and deployments.
  • CMDT Worker
    • sends relevant information periodically to RabbitMQ services.
  • CMDT Admin Dashboard 🚧
    • Currently just a placeholder (no-op).

Installation

Use the UV package manager to develop CMDT components.

# normal installation
uv sync

# development
uv sync --all-extras

Usage

source .venv/bin/activate
./entrypoint.sh cmdt-api  # or cmdt-rabbitmq-publisher or cmdt-dashboard

or use Docker for development

docker build -t cmdt .
docker run -it --rm cmdt ./entrypoint.sh cmdt-api

License

Apache License