# patil2771/devops-journey- architecture

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

- Interactive diagram: https://gitdiagram.com/patil2771/devops-journey-
- Repository: https://github.com/patil2771/devops-journey-

## Overview

This repository documents a Kubernetes voting application with voting, worker, and result services, backed by PostgreSQL and Redis, plus Prometheus and Grafana monitoring. The README lists the deployment manifests but the supplied tree contains only README.md, so source paths and runtime interactions cannot be verified. The graph shows only the documented deployment action; it does not infer how votes flow between services or stores.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_services["Voting Services"]
  node_voting["Voting App"]
  node_worker["Worker App"]
  node_result["Result App"]
end

subgraph group_data["Data Stores"]
  node_postgres[("PostgreSQL")]
  node_redis[("Redis")]
end

subgraph group_monitoring["Monitoring"]
  node_prometheus["Prometheus"]
  node_grafana["Grafana"]
end

node_operator(("Kubernetes Operator"))

node_operator -->|"applies manifests"| node_postgres
node_operator -->|"applies manifests"| node_redis
node_operator -->|"applies manifests"| node_voting
node_operator -->|"applies manifests"| node_worker
node_operator -->|"applies manifests"| node_result
node_operator -->|"applies manifests"| node_prometheus
node_operator -->|"applies manifests"| node_grafana

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_voting,node_worker,node_result toneBlue
class node_postgres,node_redis toneAmber
class node_prometheus,node_grafana toneMint
class node_operator toneIndigo
```

## Components

### Voting Services

- **Voting App**
- **Worker App**
- **Result App**

### Data Stores

- **PostgreSQL**
- **Redis**

### Monitoring

- **Prometheus**
- **Grafana**

### Other components

- **Kubernetes Operator**

## Connections

- Kubernetes Operator → PostgreSQL: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Redis: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Voting App: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Worker App: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Result App: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Prometheus: applies manifests (evidence: `README.md`)
- Kubernetes Operator → Grafana: applies manifests (evidence: `README.md`)
