Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_k8s-storage-pv-pvc-csi

Kubernetes storage (claim, volume, driver and snapshot)

12 COMPONENTS · 14 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[![Kubernetes storage (claim, volume, driver and snapshot) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_k8s-storage-pv-pvc-csi/opengraph-image)](https://archos.sageideas.dev/d/dgm_k8s-storage-pv-pvc-csi)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_k8s-storage-pv-pvc-csi)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_k8s-storage-pv-pvc-csi" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Kubernetes storage (claim, volume, driver and snapshot) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("API Client")]
  objs_1[("Resource server")]
  gw_2["API gateway"]
  cluster_3[("Kubernetes cluster")]
  db_4[("PostgreSQL")]
  driver_5["Operator / CRD controller"]
  vol_6[("Block volume")]
  secrets_7[("Secrets manager")]
  backup_8[("Backup")]
  tsdb_9[("Time-series database (TSDB)")]
  alerting_10[("Alerting")]
  capacity_11["Capacity Estimate"]
  client_0 -->|"1. Calls with a JWT · HTTPS"| gw_2
  gw_2 -->|"2. Creates claim · HTTP/2"| cluster_3
  cluster_3 -->|"3. Requests volume · gRPC"| driver_5
  driver_5 -->|"4. Creates volume · HTTPS"| vol_6
  vol_6 -->|"5. Returns volume id · HTTPS"| driver_5
  driver_5 -->|"6. Binds claim · gRPC"| cluster_3
  cluster_3 -->|"7. Mounts volume · gRPC"| db_4
  db_4 -->|"8. Reads and writes · TCP"| vol_6
  vol_6 -->|"9. Returns data · TCP"| db_4
  db_4 -->|"10. Archives backups · HTTPS"| objs_1
  secrets_7 -->|"Supplies credential · HTTPS"| driver_5
  driver_5 -->|"Exports (OTLP) · OTLP"| tsdb_9
  tsdb_9 -->|"Notifies · HTTP"| alerting_10
  backup_8 -->|"Requests snapshot · gRPC"| driver_5

COMPONENT STACK (11)

  • API ClientSTATEFUL
    Submits a database with a storage request
  • Resource serverSTATEFUL
    External object store that holds archives
  • API gatewaySTATELESS
    Checks the JWT; rejects when over its limit
  • Kubernetes clusterSTATEFUL
    Binds each claim to a volume
  • PostgreSQLSTATEFUL
    Pod mounts the claim as its data disk
  • Operator / CRD controllerSTATELESS
    Storage driver and helpers create volumes
  • Block volumeSTATEFUL
    Network disk in one zone; holds the data
  • Secrets managerSTATEFUL
    Holds the storage backend credential
  • BackupSTATEFUL
    Takes volume snapshots on a schedule
  • Time-series database (TSDB)STATEFUL
    Stores Pending claims, volume errors, snapshot age
  • AlertingSTATEFUL
    Pages on-call when a claim stays Pending

REQUEST & DATA FLOW (14)

  1. API Client → API gateway (Calls with a JWT)[HTTPS]
  2. API gateway → Kubernetes cluster (Creates claim)[HTTP/2]
  3. Kubernetes cluster → Operator / CRD controller (Requests volume)[gRPC]
  4. Operator / CRD controller → Block volume (Creates volume)[HTTPS]
  5. Block volume → Operator / CRD controller (Returns volume id)[HTTPS]
  6. Operator / CRD controller → Kubernetes cluster (Binds claim)[gRPC]
  7. Kubernetes cluster → PostgreSQL (Mounts volume)[gRPC]
  8. PostgreSQL → Block volume (Reads and writes)[TCP]
  9. Block volume → PostgreSQL (Returns data)[TCP]
  10. PostgreSQL → Resource server (Archives backups)[HTTPS]
  11. Secrets manager → Operator / CRD controller (Supplies credential)[HTTPS]
  12. Operator / CRD controller → Time-series database (TSDB) (Exports (OTLP))[OTLP]
  13. Time-series database (TSDB) → Alerting (Notifies)[HTTP]
  14. Backup → Operator / CRD controller (Requests snapshot)[gRPC]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →