# ggingggang/ggang-platform architecture

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

- Interactive diagram: https://gitdiagram.com/ggingggang/ggang-platform
- Repository: https://github.com/ggingggang/ggang-platform

## Overview

This repository is a documentation portfolio describing an OCI OKE Kubernetes platform, not the platform implementation itself. The principal workflow runs from service-template generation through shared CI and GitOps deployment to runtime verification; infrastructure, network entry, and observability are supporting branches. Components and links below reflect documented architecture in the README; implementation details not present in this repository are not inferred.

Main entry points: [`docs/04-delivery.md`](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md) (Shared CI), [`docs/01-architecture.md`](https://github.com/ggingggang/ggang-platform/blob/main/docs/01-architecture.md) (Service Pods), [`docs/03-service-onboarding.md`](https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md) (Service Templates), [`docs/06-operations.md`](https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md) (Prometheus)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundation["Platform Foundation"]
  node_terraform["Terraform Infrastructure"]
  node_oke{{"OCI OKE"}}
end

subgraph group_onboarding["Service Onboarding"]
  node_templates["Service Templates"]
  node_service["Service Source"]
  node_bootstrap["Initial Manifests"]
end

subgraph group_delivery["Build and Delivery"]
  node_jenkins["Shared CI<br/>[04-delivery.md]"]
  node_tests["Test Stage<br/>[04-delivery.md]"]
  node_image["Container Image<br/>[04-delivery.md]"]
  node_scan["Image Scan<br/>[04-delivery.md]"]
  node_sign["Image Signing<br/>[04-delivery.md]"]
  node_ghcr[("GHCR<br/>[README.md]")]
  node_gitops["GitOps Manifests<br/>[04-delivery.md]"]
end

subgraph group_runtime["Runtime and Entry"]
  node_argocd["ArgoCD<br/>[01-architecture.md]"]
  node_pods{{"Service Pods<br/>[01-architecture.md]"}}
  node_nlb["OCI Load Balancer"]
  node_gateway["Istio Gateway"]
  node_routes["HTTP Routes"]
  node_service_entry["Kubernetes Service"]
end

subgraph group_operations["Operations"]
  node_prometheus["Prometheus<br/>[06-operations.md]"]
  node_grafana["Grafana<br/>[06-operations.md]"]
  node_alertmanager["Alertmanager<br/>[06-operations.md]"]
end

node_developer(("Service Developer"))
node_discord(("Discord"))

node_developer -->|"starts from"| node_templates
node_templates -->|"generates"| node_service
node_templates -->|"provides"| node_bootstrap
node_terraform -->|"provisions"| node_oke
node_service -->|"builds through"| node_jenkins
node_jenkins -->|"runs"| node_tests
node_jenkins -->|"builds"| node_image
node_image -->|"undergoes"| node_scan
node_image -->|"is signed"| node_sign
node_jenkins -->|"updates version"| node_gitops
node_bootstrap -->|"adds manifests"| node_gitops
node_image -->|"publishes to"| node_ghcr
node_gitops -->|"reconciled by"| node_argocd
node_argocd -->|"deploys"| node_pods
node_ghcr -->|"supplies image"| node_pods
node_nlb -->|"forwards requests"| node_gateway
node_gateway -->|"routes requests"| node_routes
node_routes -->|"targets service"| node_service_entry
node_service_entry -->|"forwards to"| node_pods
node_pods -->|"exposes metrics"| node_prometheus
node_prometheus -->|"visualized in"| node_grafana
node_prometheus -->|"triggers alerts"| node_alertmanager
node_alertmanager -->|"sends alerts"| node_discord

click node_terraform "https://github.com/ggingggang/ggang-platform/blob/main/docs/02-infrastructure.md"
click node_oke "https://github.com/ggingggang/ggang-platform/blob/main/docs/02-infrastructure.md"
click node_templates "https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md"
click node_service "https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md"
click node_bootstrap "https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md"
click node_jenkins "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_tests "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_image "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_scan "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_sign "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_ghcr "https://github.com/ggingggang/ggang-platform/blob/main/README.md"
click node_gitops "https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md"
click node_argocd "https://github.com/ggingggang/ggang-platform/blob/main/docs/01-architecture.md"
click node_pods "https://github.com/ggingggang/ggang-platform/blob/main/docs/01-architecture.md"
click node_nlb "https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md"
click node_gateway "https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md"
click node_routes "https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md"
click node_service_entry "https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md"
click node_prometheus "https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md"
click node_grafana "https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md"
click node_alertmanager "https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md"

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_terraform,node_oke toneBlue
class node_templates,node_service,node_bootstrap toneAmber
class node_jenkins,node_tests,node_image,node_scan,node_sign,node_ghcr,node_gitops toneMint
class node_argocd,node_pods,node_nlb,node_gateway,node_routes,node_service_entry toneRose
class node_prometheus,node_grafana,node_alertmanager,node_developer,node_discord toneIndigo
```

## Components

### Platform Foundation

- [Terraform Infrastructure](https://github.com/ggingggang/ggang-platform/blob/main/docs/02-infrastructure.md): `docs/02-infrastructure.md`
- [OCI OKE](https://github.com/ggingggang/ggang-platform/blob/main/docs/02-infrastructure.md): `docs/02-infrastructure.md`

### Service Onboarding

- [Service Templates](https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md): `docs/03-service-onboarding.md`
- [Service Source](https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md): `docs/03-service-onboarding.md`
- [Initial Manifests](https://github.com/ggingggang/ggang-platform/blob/main/docs/03-service-onboarding.md): `docs/03-service-onboarding.md`

### Build and Delivery

- [Shared CI](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`
- [Test Stage](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`
- [Container Image](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`
- [Image Scan](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`
- [Image Signing](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`
- [GHCR](https://github.com/ggingggang/ggang-platform/blob/main/README.md): `README.md`
- [GitOps Manifests](https://github.com/ggingggang/ggang-platform/blob/main/docs/04-delivery.md): `docs/04-delivery.md`

### Runtime and Entry

- [ArgoCD](https://github.com/ggingggang/ggang-platform/blob/main/docs/01-architecture.md): `docs/01-architecture.md`
- [Service Pods](https://github.com/ggingggang/ggang-platform/blob/main/docs/01-architecture.md): `docs/01-architecture.md`
- [OCI Load Balancer](https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md): `docs/05-network-entry.md`
- [Istio Gateway](https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md): `docs/05-network-entry.md`
- [HTTP Routes](https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md): `docs/05-network-entry.md`
- [Kubernetes Service](https://github.com/ggingggang/ggang-platform/blob/main/docs/05-network-entry.md): `docs/05-network-entry.md`

### Operations

- [Prometheus](https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md): `docs/06-operations.md`
- [Grafana](https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md): `docs/06-operations.md`
- [Alertmanager](https://github.com/ggingggang/ggang-platform/blob/main/docs/06-operations.md): `docs/06-operations.md`

### Other components

- **Service Developer**
- **Discord**

## Connections

- Service Developer → Service Templates: starts from (evidence: `README.md`)
- Service Templates → Service Source: generates (evidence: `README.md`)
- Service Templates → Initial Manifests: provides (evidence: `README.md`)
- Terraform Infrastructure → OCI OKE: provisions (evidence: `README.md`)
- Service Source → Shared CI: builds through (evidence: `README.md`)
- Shared CI → Test Stage: runs (evidence: `README.md`)
- Shared CI → Container Image: builds (evidence: `README.md`)
- Container Image → Image Scan: undergoes (evidence: `README.md`)
- Container Image → Image Signing: is signed (evidence: `README.md`)
- Shared CI → GitOps Manifests: updates version (evidence: `README.md`)
- Initial Manifests → GitOps Manifests: adds manifests (evidence: `README.md`)
- Container Image → GHCR: publishes to (evidence: `README.md`)
- GitOps Manifests → ArgoCD: reconciled by (evidence: `README.md`)
- ArgoCD → Service Pods: deploys (evidence: `README.md`)
- GHCR → Service Pods: supplies image (evidence: `README.md`)
- OCI Load Balancer → Istio Gateway: forwards requests (evidence: `README.md`)
- Istio Gateway → HTTP Routes: routes requests (evidence: `README.md`)
- HTTP Routes → Kubernetes Service: targets service (evidence: `README.md`)
- Kubernetes Service → Service Pods: forwards to (evidence: `README.md`)
- Service Pods → Prometheus: exposes metrics (evidence: `README.md`)
- Prometheus → Grafana: visualized in (evidence: `README.md`)
- Prometheus → Alertmanager: triggers alerts (evidence: `README.md`)
- Alertmanager → Discord: sends alerts (evidence: `README.md`)
