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
[](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_5COMPONENT STACK (11)
- API ClientSTATEFULSubmits a database with a storage request
- Resource serverSTATEFULExternal object store that holds archives
- API gatewaySTATELESSChecks the JWT; rejects when over its limit
- Kubernetes clusterSTATEFULBinds each claim to a volume
- PostgreSQLSTATEFULPod mounts the claim as its data disk
- Operator / CRD controllerSTATELESSStorage driver and helpers create volumes
- Block volumeSTATEFULNetwork disk in one zone; holds the data
- Secrets managerSTATEFULHolds the storage backend credential
- BackupSTATEFULTakes volume snapshots on a schedule
- Time-series database (TSDB)STATEFULStores Pending claims, volume errors, snapshot age
- AlertingSTATEFULPages on-call when a claim stays Pending
REQUEST & DATA FLOW (14)
- API Client → API gateway (Calls with a JWT)[HTTPS]
- API gateway → Kubernetes cluster (Creates claim)[HTTP/2]
- Kubernetes cluster → Operator / CRD controller (Requests volume)[gRPC]
- Operator / CRD controller → Block volume (Creates volume)[HTTPS]
- Block volume → Operator / CRD controller (Returns volume id)[HTTPS]
- Operator / CRD controller → Kubernetes cluster (Binds claim)[gRPC]
- Kubernetes cluster → PostgreSQL (Mounts volume)[gRPC]
- PostgreSQL → Block volume (Reads and writes)[TCP]
- Block volume → PostgreSQL (Returns data)[TCP]
- PostgreSQL → Resource server (Archives backups)[HTTPS]
- Secrets manager → Operator / CRD controller (Supplies credential)[HTTPS]
- Operator / CRD controller → Time-series database (TSDB) (Exports (OTLP))[OTLP]
- Time-series database (TSDB) → Alerting (Notifies)[HTTP]
- Backup → Operator / CRD controller (Requests snapshot)[gRPC]