# pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi architecture

> Architecture diagram of the GitHub repository pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi
- Repository: https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi

## Overview

This repository packages Astronomy Shop and its supporting services as Kubernetes manifests for EKS. The documented operational workflow is to apply the Argo CD parent application, which creates six layer applications in dependency order; the layers then deploy shared foundations, data stores, logging, observability, shop services, and the AI assistant. Shop users enter through the shop Ingress. The README names the runtime capabilities but does not establish internal service-call or telemetry-data paths, so those are not asserted here; no source excerpts were available.

Main entry points: [`argocd/apps`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/argocd/apps) (Layer applications), [`argocd/root-app.yaml`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/argocd/root-app.yaml) (Argo CD parent), [`00-base`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/00-base) (Cluster foundation), [`10-ecommerce-data`](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/10-ecommerce-data) (Commerce data stores)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deploy["Deployment"]
  node_argo_parent["Argo CD parent<br/>[root-app.yaml]"]
  node_argo_apps["Layer applications"]
end

subgraph group_foundation["Cluster foundation"]
  node_base["Cluster foundation"]
end

subgraph group_commerce["Commerce platform"]
  node_data[("Commerce data stores")]
  node_shop_ingress["Shop Ingress<br/>[ingress-shop.yaml]"]
  node_shop_services["Shop services"]
  node_feature_flags["Feature flags<br/>[flagd.yaml]"]
  node_load_generator["Load generator"]
end

subgraph group_operations["Operations"]
  node_logging[("Central logging")]
  node_otel["OTel Collector"]
  node_opamp["OpAMP server<br/>[opamp-server.yaml]"]
  node_jaeger["Jaeger tracing<br/>[jaeger.yaml]"]
  node_prometheus[("Prometheus metrics<br/>[prometheus.yaml]")]
  node_grafana["Grafana dashboards<br/>[grafana.yaml]"]
end

subgraph group_assistant["AI assistant"]
  node_ai_chat["AI chatbot<br/>[chatbot.yaml]"]
  node_ai_agent["AI agent<br/>[agent.yaml]"]
  node_mcp["MCP service<br/>[mcp.yaml]"]
end

node_shop_user(("Shop user"))

node_argo_parent -->|"creates apps"| node_argo_apps
node_argo_apps -->|"deploys base"| node_base
node_argo_apps -->|"deploys data"| node_data
node_argo_apps -->|"deploys logging"| node_logging
node_argo_apps -->|"deploys observability"| node_otel
node_argo_apps -->|"deploys shop"| node_shop_services
node_argo_apps -->|"deploys assistant"| node_ai_chat
node_shop_user -->|"visits shop"| node_shop_ingress

click node_argo_parent "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/argocd/root-app.yaml"
click node_argo_apps "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/argocd/apps"
click node_base "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/00-base"
click node_data "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/10-ecommerce-data"
click node_shop_ingress "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/ingress-shop.yaml"
click node_shop_services "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/40-ecommerce-app"
click node_feature_flags "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/flagd.yaml"
click node_load_generator "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/load-generator.yaml"
click node_logging "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/20-logging"
click node_otel "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/otel-collector.yaml"
click node_opamp "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/opamp-server.yaml"
click node_jaeger "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/jaeger.yaml"
click node_prometheus "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/prometheus.yaml"
click node_grafana "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/grafana.yaml"
click node_ai_chat "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/chatbot.yaml"
click node_ai_agent "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/agent.yaml"
click node_mcp "https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/mcp.yaml"

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_argo_parent,node_argo_apps,node_shop_user toneBlue
class node_base toneAmber
class node_data,node_shop_ingress,node_shop_services,node_feature_flags,node_load_generator toneMint
class node_logging,node_otel,node_opamp,node_jaeger,node_prometheus,node_grafana toneRose
class node_ai_chat,node_ai_agent,node_mcp toneIndigo
```

## Components

### Deployment

- [Argo CD parent](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/argocd/root-app.yaml): `argocd/root-app.yaml`
- [Layer applications](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/argocd/apps): `argocd/apps`

### Cluster foundation

- [Cluster foundation](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/00-base): `00-base`

### Commerce platform

- [Commerce data stores](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/10-ecommerce-data): `10-ecommerce-data`
- [Shop Ingress](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/ingress-shop.yaml): `40-ecommerce-app/ingress-shop.yaml`
- [Shop services](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/40-ecommerce-app): `40-ecommerce-app`
- [Feature flags](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/flagd.yaml): `40-ecommerce-app/flagd.yaml`
- [Load generator](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/40-ecommerce-app/load-generator.yaml): `40-ecommerce-app/load-generator.yaml`

### Operations

- [Central logging](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/tree/main/20-logging): `20-logging`
- [OTel Collector](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/otel-collector.yaml): `30-observability/otel-collector.yaml`
- [OpAMP server](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/opamp-server.yaml): `30-observability/opamp-server.yaml`
- [Jaeger tracing](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/jaeger.yaml): `30-observability/jaeger.yaml`
- [Prometheus metrics](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/prometheus.yaml): `30-observability/prometheus.yaml`
- [Grafana dashboards](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/30-observability/grafana.yaml): `30-observability/grafana.yaml`

### AI assistant

- [AI chatbot](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/chatbot.yaml): `50-ai-assistant/chatbot.yaml`
- [AI agent](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/agent.yaml): `50-ai-assistant/agent.yaml`
- [MCP service](https://github.com/pod5-devops-team-dgwit/ecommerce-project-k8s-file-dgwi/blob/main/50-ai-assistant/mcp.yaml): `50-ai-assistant/mcp.yaml`

### Other components

- **Shop user**

## Connections

- Argo CD parent → Layer applications: creates apps (evidence: `README.md`)
- Layer applications → Cluster foundation: deploys base (evidence: `README.md`)
- Layer applications → Commerce data stores: deploys data (evidence: `README.md`)
- Layer applications → Central logging: deploys logging (evidence: `README.md`)
- Layer applications → OTel Collector: deploys observability (evidence: `README.md`)
- Layer applications → Shop services: deploys shop (evidence: `README.md`)
- Layer applications → AI chatbot: deploys assistant (evidence: `README.md`)
- Shop user → Shop Ingress: visits shop (evidence: `README.md`)
