ARCHOS 525 BLUEPRINT · /d/dgm_k8s-cni-services-and-network-policy
Kubernetes CNI, Services and NetworkPolicy
15 COMPONENTS · 18 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_k8s-cni-services-and-network-policy) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_k8s-cni-services-and-network-policy)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_k8s-cni-services-and-network-policy" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Kubernetes CNI, Services and NetworkPolicy — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0[("Web client")]
eng_1[("Platform engineer")]
pdp_2["Policy decision point (PDP)"]
api_3[("API server")]
fe_4["Frontend Pod"]
secrets_5[("Secrets manager")]
dns_6[("Cluster DNS")]
proxy_7["Service proxy"]
dp_8["Pod network dataplane"]
other_9["Batch Pod"]
tsdb_10[("Time-series database (TSDB)")]
alerting_11[("Alerting")]
be_a_12["Backend Pod"]
be_b_13["Backend Pod"]
capacity_14["Capacity Estimate"]
client_0 -->|"1. Sends JWT · HTTPS"| fe_4
fe_4 -->|"2. Looks up name · DNS"| dns_6
dns_6 -->|"3. Returns IP · DNS"| fe_4
fe_4 -->|"4. To Service · TCP"| proxy_7
proxy_7 -->|"5. Picks Pod · TCP"| dp_8
dp_8 -->|"6a. If allowed · TCP"| be_a_12
dp_8 -->|"6b. If allowed · TCP"| be_b_13
fe_4 -->|"Responds · HTTPS"| client_0
eng_1 -->|"Applies JWT · HTTPS"| pdp_2
pdp_2 -->|"RBAC ok · HTTPS"| api_3
api_3 -->|"Streams policy · HTTPS"| dp_8
api_3 -->|"Streams endpoints · HTTPS"| proxy_7
fe_4 -->|"Fetches key · HTTPS"| secrets_5
other_9 -->|"Dropped · TCP"| dp_8
be_a_12 -->|"Reports ready · HTTPS"| api_3
be_b_13 -->|"Reports ready · HTTPS"| api_3
tsdb_10 -->|"Scrapes drops · HTTPS"| dp_8
tsdb_10 -->|"Metrics · HTTP"| alerting_11COMPONENT STACK (14)
- Web clientSTATEFULCalls the frontend over the internet
- Platform engineerSTATEFULApplies a NetworkPolicy
- Policy decision point (PDP)STATELESSRBAC check on each policy write
- API serverSTATEFULStores Services, endpoints and policies
- Frontend PodSTATELESSServes the client; calls backend by name
- Secrets managerSTATEFULHolds the frontend TLS key
- Cluster DNSSTATEFULResolves a Service name to its cluster IP
- Service proxySTATELESSMaps a cluster IP to a ready Pod IP
- Pod network dataplaneSTATELESSNetwork plugin; enforces NetworkPolicy
- Batch PodSTATELESSSame namespace; no allow rule
- Time-series database (TSDB)STATEFULStores dropped-connection counts
- AlertingSTATEFULPages on policy-drop spikes and failed scrapes
- Backend PodSTATELESSReady; policy allows frontend only
- Backend PodSTATELESSReady; policy allows frontend only
REQUEST & DATA FLOW (18)
- Web client → Frontend Pod (Sends JWT)[HTTPS]
- Frontend Pod → Cluster DNS (Looks up name)[DNS]
- Cluster DNS → Frontend Pod (Returns IP)[DNS]
- Frontend Pod → Service proxy (To Service)[TCP]
- Service proxy → Pod network dataplane (Picks Pod)[TCP]
- Pod network dataplane → Backend Pod (If allowed)[TCP]
- Pod network dataplane → Backend Pod (If allowed)[TCP]
- Frontend Pod → Web client (Responds)[HTTPS]
- Platform engineer → Policy decision point (PDP) (Applies JWT)[HTTPS]
- Policy decision point (PDP) → API server (RBAC ok)[HTTPS]
- API server → Pod network dataplane (Streams policy)[HTTPS]
- API server → Service proxy (Streams endpoints)[HTTPS]
- Frontend Pod → Secrets manager (Fetches key)[HTTPS]
- Batch Pod → Pod network dataplane (Dropped)[TCP]