# vijay2181/production-grade-devops architecture

> Architecture diagram of the GitHub repository vijay2181/production-grade-devops, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vijay2181/production-grade-devops
- Repository: https://github.com/vijay2181/production-grade-devops

## Overview

This repository is a portfolio of practical DevOps projects rather than one deployable application. Its projects cover Kubernetes migration, autoscaling and FinOps, Jenkins operations, multi-cluster GitOps, disaster recovery, observability, security hardening, and supply-chain security. The clearest runtime workflow in the sampled code is an HTTP request served by an API, with item data read from or written to PostgreSQL and Redis; the observability API additionally exports telemetry to an OpenTelemetry Collector. Other project nodes reflect the tree; their internal wiring was not sampled.

Main entry points: [`aws-eks-migration/app/src/index.js`](https://github.com/vijay2181/production-grade-devops/blob/main/aws-eks-migration/app/src/index.js) (Migration API), [`observability/app/src/index.js`](https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/src/index.js) (Instrumented API), [`observability/app/otel/otel.js`](https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/otel/otel.js) (OpenTelemetry SDK), [`aws-eks-migration/kubernetes/base/database`](https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes/base/database) (PostgreSQL)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_migration["EKS Migration"]
  node_migration_app["Migration API<br/>[index.js]"]
  node_migration_db[("PostgreSQL")]
  node_migration_cache[("Redis")]
  node_migration_manifests["Cluster Manifests"]
end

subgraph group_platform["Platform Operations"]
  node_finops["FinOps Autoscaling"]
  node_dr["Multi-Region DR"]
end

subgraph group_delivery["Delivery Systems"]
  node_jenkins_ha["Jenkins HA"]
  node_jenkins_prod["Jenkins Production"]
  node_gitops["Multi-Cluster GitOps"]
end

subgraph group_telemetry["Observability"]
  node_obs_app["Instrumented API<br/>[index.js]"]
  node_otel_sdk["OpenTelemetry SDK<br/>[otel.js]"]
  node_otel_collector["OTel Collector"]
  node_obs_backends["Telemetry Backends"]
end

subgraph group_security["Security"]
  node_security_hardening["Kubernetes Hardening"]
  node_slsa_app["SLSA Demo API<br/>[main.py]"]
end

node_engineer(("API Client"))

node_engineer -->|"sends HTTP"| node_migration_app
node_migration_app -->|"queries"| node_migration_db
node_migration_app -->|"reads and writes"| node_migration_cache
node_engineer -->|"sends HTTP"| node_obs_app
node_obs_app -->|"initializes first"| node_otel_sdk
node_otel_sdk -->|"exports telemetry"| node_otel_collector
node_obs_app -.->|"exposes metrics"| node_obs_backends

click node_migration_app "https://github.com/vijay2181/production-grade-devops/blob/main/aws-eks-migration/app/src/index.js"
click node_migration_db "https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes/base/database"
click node_migration_cache "https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes/base/redis"
click node_migration_manifests "https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes"
click node_finops "https://github.com/vijay2181/production-grade-devops/tree/main/finops-karpenter-autoscaling"
click node_jenkins_ha "https://github.com/vijay2181/production-grade-devops/tree/main/jenkins-high-availability"
click node_jenkins_prod "https://github.com/vijay2181/production-grade-devops/tree/main/jenkins-production"
click node_gitops "https://github.com/vijay2181/production-grade-devops/tree/main/multi-cluster-gitops-with-argocd"
click node_dr "https://github.com/vijay2181/production-grade-devops/tree/main/multi-region-dr-chaos"
click node_obs_app "https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/src/index.js"
click node_otel_sdk "https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/otel/otel.js"
click node_otel_collector "https://github.com/vijay2181/production-grade-devops/tree/main/observability/kubernetes/base/collector"
click node_obs_backends "https://github.com/vijay2181/production-grade-devops/tree/main/observability/helm/values"
click node_security_hardening "https://github.com/vijay2181/production-grade-devops/tree/main/security-hardening"
click node_slsa_app "https://github.com/vijay2181/production-grade-devops/blob/main/supply-chain-security-slsa/app/main.py"

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_migration_app,node_migration_db,node_migration_cache,node_migration_manifests,node_engineer toneBlue
class node_finops,node_dr toneAmber
class node_jenkins_ha,node_jenkins_prod,node_gitops toneMint
class node_obs_app,node_otel_sdk,node_otel_collector,node_obs_backends toneRose
class node_security_hardening,node_slsa_app toneIndigo
```

## Components

### EKS Migration

- [Migration API](https://github.com/vijay2181/production-grade-devops/blob/main/aws-eks-migration/app/src/index.js): `aws-eks-migration/app/src/index.js`
- [PostgreSQL](https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes/base/database): `aws-eks-migration/kubernetes/base/database`
- [Redis](https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes/base/redis): `aws-eks-migration/kubernetes/base/redis`
- [Cluster Manifests](https://github.com/vijay2181/production-grade-devops/tree/main/aws-eks-migration/kubernetes): `aws-eks-migration/kubernetes`

### Platform Operations

- [FinOps Autoscaling](https://github.com/vijay2181/production-grade-devops/tree/main/finops-karpenter-autoscaling): `finops-karpenter-autoscaling`
- [Multi-Region DR](https://github.com/vijay2181/production-grade-devops/tree/main/multi-region-dr-chaos): `multi-region-dr-chaos`

### Delivery Systems

- [Jenkins HA](https://github.com/vijay2181/production-grade-devops/tree/main/jenkins-high-availability): `jenkins-high-availability`
- [Jenkins Production](https://github.com/vijay2181/production-grade-devops/tree/main/jenkins-production): `jenkins-production`
- [Multi-Cluster GitOps](https://github.com/vijay2181/production-grade-devops/tree/main/multi-cluster-gitops-with-argocd): `multi-cluster-gitops-with-argocd`

### Observability

- [Instrumented API](https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/src/index.js): `observability/app/src/index.js`
- [OpenTelemetry SDK](https://github.com/vijay2181/production-grade-devops/blob/main/observability/app/otel/otel.js): `observability/app/otel/otel.js`
- [OTel Collector](https://github.com/vijay2181/production-grade-devops/tree/main/observability/kubernetes/base/collector): `observability/kubernetes/base/collector`
- [Telemetry Backends](https://github.com/vijay2181/production-grade-devops/tree/main/observability/helm/values): `observability/helm/values`

### Security

- [Kubernetes Hardening](https://github.com/vijay2181/production-grade-devops/tree/main/security-hardening): `security-hardening`
- [SLSA Demo API](https://github.com/vijay2181/production-grade-devops/blob/main/supply-chain-security-slsa/app/main.py): `supply-chain-security-slsa/app/main.py`

### Other components

- **API Client**

## Connections

- API Client → Migration API: sends HTTP (evidence: `aws-eks-migration/app/src/index.js`)
- Migration API → PostgreSQL: queries (evidence: `aws-eks-migration/app/src/index.js`)
- Migration API → Redis: reads and writes (evidence: `aws-eks-migration/app/src/index.js`)
- API Client → Instrumented API: sends HTTP (evidence: `observability/app/src/index.js`)
- Instrumented API → OpenTelemetry SDK: initializes first (evidence: `observability/app/src/index.js`)
- OpenTelemetry SDK → OTel Collector: exports telemetry (evidence: `observability/app/otel/otel.js`)
- Instrumented API → Telemetry Backends: exposes metrics
