# steblynskyi/infrastructure architecture

> Architecture diagram of the GitHub repository steblynskyi/infrastructure, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/steblynskyi/infrastructure
- Repository: https://github.com/steblynskyi/infrastructure

## Overview

This repository appears to define cloud environments and the runtime infrastructure for a hospitality application platform. A likely operator workflow is to select an environment, configure its cluster and services, and provide supporting cloud resources; the tree also shows container-image variants for application and Jenkins workloads. The tree alone does not establish deployment order, callers, or data flows, and no README or source excerpts were supplied, so relationships are shown only as unverified dashed links.

Main entry points: [`environments/prod`](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod) (Production), [`environments/mgmt`](https://github.com/steblynskyi/infrastructure/tree/main/environments/mgmt) (Management), [`environments/dev/kubernetes`](https://github.com/steblynskyi/infrastructure/tree/main/environments/dev/kubernetes) (Dev Cluster), [`environments/prod/kubernetes`](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/kubernetes) (Prod Cluster)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_env["Environments"]
  node_dev["Development"]
  node_qa["QA"]
  node_prod["Production"]
  node_mgmt["Management"]
end

subgraph group_k8s["Kubernetes Platform"]
  node_dev_cluster["Dev Cluster"]
  node_prod_cluster["Prod Cluster"]
  node_shared_k8s["Shared Cluster Apps"]
end

subgraph group_cloud["Cloud Services"]
  node_aws_data[("Data Services")]
  node_object_store[("Object Storage")]
  node_messaging["Messaging"]
  node_network["Network Config"]
end

subgraph group_runtime["Runtime Images"]
  node_app_images["Application Images"]
  node_jenkins_images["Jenkins Images"]
  node_ec2_images["EC2 Images"]
end

node_operator(("Platform Operator"))

node_operator -.->|"selects environment"| node_dev
node_operator -.->|"selects environment"| node_qa
node_operator -.->|"selects environment"| node_prod
node_operator -.->|"selects environment"| node_mgmt
node_dev -.->|"may configure"| node_dev_cluster
node_prod -.->|"may configure"| node_prod_cluster
node_dev_cluster -.->|"may use"| node_shared_k8s
node_prod_cluster -.->|"may use"| node_shared_k8s
node_prod -.->|"may configure"| node_aws_data
node_prod -.->|"may configure"| node_object_store
node_prod -.->|"may configure"| node_messaging
node_prod -.->|"may configure"| node_network
node_dev_cluster -.->|"may run"| node_app_images
node_prod_cluster -.->|"may run"| node_app_images
node_mgmt -.->|"may use"| node_jenkins_images
node_mgmt -.->|"may use"| node_ec2_images

click node_dev "https://github.com/steblynskyi/infrastructure/tree/main/environments/dev"
click node_qa "https://github.com/steblynskyi/infrastructure/tree/main/environments/qa"
click node_prod "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod"
click node_mgmt "https://github.com/steblynskyi/infrastructure/tree/main/environments/mgmt"
click node_dev_cluster "https://github.com/steblynskyi/infrastructure/tree/main/environments/dev/kubernetes"
click node_prod_cluster "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/kubernetes"
click node_shared_k8s "https://github.com/steblynskyi/infrastructure/tree/main/environments/kubernetes"
click node_aws_data "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/rds"
click node_object_store "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/s3"
click node_messaging "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/kafka_proxy"
click node_network "https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/vpc"
click node_app_images "https://github.com/steblynskyi/infrastructure/tree/main/docker_slave/nginx"
click node_jenkins_images "https://github.com/steblynskyi/infrastructure/tree/main/docker_slave/jenkins_master_slaves"
click node_ec2_images "https://github.com/steblynskyi/infrastructure/tree/main/ec2_slave"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dev,node_qa,node_prod,node_mgmt toneBlue
class node_dev_cluster,node_prod_cluster,node_shared_k8s toneAmber
class node_aws_data,node_object_store,node_messaging,node_network toneMint
class node_app_images,node_jenkins_images,node_ec2_images toneRose
class node_operator toneIndigo
```

## Components

### Environments

- [Development](https://github.com/steblynskyi/infrastructure/tree/main/environments/dev): `environments/dev`
- [QA](https://github.com/steblynskyi/infrastructure/tree/main/environments/qa): `environments/qa`
- [Production](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod): `environments/prod`
- [Management](https://github.com/steblynskyi/infrastructure/tree/main/environments/mgmt): `environments/mgmt`

### Kubernetes Platform

- [Dev Cluster](https://github.com/steblynskyi/infrastructure/tree/main/environments/dev/kubernetes): `environments/dev/kubernetes`
- [Prod Cluster](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/kubernetes): `environments/prod/kubernetes`
- [Shared Cluster Apps](https://github.com/steblynskyi/infrastructure/tree/main/environments/kubernetes): `environments/kubernetes`

### Cloud Services

- [Data Services](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/rds): `environments/prod/rds`
- [Object Storage](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/s3): `environments/prod/s3`
- [Messaging](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/kafka_proxy): `environments/prod/kafka_proxy`
- [Network Config](https://github.com/steblynskyi/infrastructure/tree/main/environments/prod/vpc): `environments/prod/vpc`

### Runtime Images

- [Application Images](https://github.com/steblynskyi/infrastructure/tree/main/docker_slave/nginx): `docker_slave/nginx`
- [Jenkins Images](https://github.com/steblynskyi/infrastructure/tree/main/docker_slave/jenkins_master_slaves): `docker_slave/jenkins_master_slaves`
- [EC2 Images](https://github.com/steblynskyi/infrastructure/tree/main/ec2_slave): `ec2_slave`

### Other components

- **Platform Operator**

## Connections

- Platform Operator → Development: selects environment
- Platform Operator → QA: selects environment
- Platform Operator → Production: selects environment
- Platform Operator → Management: selects environment
- Development → Dev Cluster: may configure
- Production → Prod Cluster: may configure
- Dev Cluster → Shared Cluster Apps: may use
- Prod Cluster → Shared Cluster Apps: may use
- Production → Data Services: may configure
- Production → Object Storage: may configure
- Production → Messaging: may configure
- Production → Network Config: may configure
- Dev Cluster → Application Images: may run
- Prod Cluster → Application Images: may run
- Management → Jenkins Images: may use
- Management → EC2 Images: may use
