Skip to content

th2 Map

Natalia Kriukova (Pryadkina) edited this page Sep 20, 2023 · 4 revisions

th2 toolkit is designed as a set of microservices that is build out of a number of repositories. On this page you can find the high level summary of the main components, including current th2 dependencies. More information regarding th2 architecture and configuration details can be found in the corresponding README.md files in each repository.

th2 INFRASTRUCTURE BOXES:

  • /th2-infra - consists of charts and its values for the deployment of infrastructure components. The repository is common for everyone, but you can fork or clone it if you need to customize values;
  • /th2-infra-mgr - Kubernetes operator responsible for rolling out schemas (th2-infra-schema - configuration of a test environment based on the Kubernetes CRs) from git repository to kubernetes. It monitors git repository and deploys changed components to your namespace;
  • /th2-infra-operator - java implementation of Kubernetes custom resource controller for th2 custom components. Monitors custom resources uploaded by th2-infra-mgr and uses CRs to configure message/event routing in RabbitMQ or uploads helm release for further configuration and deployment of th2 boxes;
  • /th2-infra-schema - configuration for th2 environment (that we call infra-schema);
  • /th2-infra-editor - GUI for infrastructure management.

th2 CORE BOXES:

  • /th2-mstore - th2 box saves raw messages from MQ pin into the data lake. It uses a store-common library.
  • /th2-estore - th2 box saves test events from MQ pin into the data lake. It uses a store-common library.
  • /th2-rpt-data-provider - th2 box interacts with the data lake to retrieve events and messages by user requests.
  • /th2-rpt-viewer - web based UI for th2 Reports, consists of events and messages provided by the rpt-data-provider.

th2 BUILDING BLOCKS:

th2 CUSTOM COMPONENTS:

SUMMARY TABLE:

Name Type # per cluster # per namespace
/th2-infra infra single single
/th2-infra-mgr infra single single
/th2-infra-operator infra single single
/th2-infra-schema infra multiple single
/th2-infra-editor infra multiple single
/th2-estore core multiple single
/th2-mstore core multiple single
/th2-rpt-data-provider core multiple single
/th2-rpt-viewer core multiple single

th2 DEPENDENCIES

th2 dependencies are shown on the picture below:

Clone this wiki locally