File tree Expand file tree Collapse file tree 3 files changed +31
-31
lines changed
content/en/blog/_posts/2024-05-01-cri-streaming-explained Expand file tree Collapse file tree 3 files changed +31
-31
lines changed Original file line number Diff line number Diff line change 1+ sequenceDiagram
2+ participant crictl
3+ participant kubectl
4+ participant API as API Server
5+ participant kubelet
6+ participant runtime as Container Runtime
7+ participant streaming as Streaming Server
8+ alt Client alternatives
9+ Note over kubelet , runtime : Container Runtime Interface (CRI)
10+ kubectl ->> API : exec, attach, port-forward
11+ API ->> kubelet : exec, attach, port-forward
12+ kubelet ->> runtime : Exec, Attach, PortForward
13+ else
14+ Note over crictl , runtime : Container Runtime Interface (CRI)
15+ crictl ->> runtime : Exec, Attach, PortForward
16+ end
17+ runtime ->> streaming : New Session
18+ streaming ->> runtime : HTTP endpoint (URL)
19+ alt Client alternatives
20+ runtime ->> kubelet : Response URL
21+ kubelet ->> API :
22+ API -->> streaming : Connection upgrade (SPDY or WebSocket)
23+ streaming -) API : Stream data
24+ API -) kubectl : Stream data
25+ else
26+ runtime ->> crictl : Response URL
27+ crictl -->> streaming : Connection upgrade (SPDY or WebSocket)
28+ streaming -) crictl : Stream data
29+ end
You can’t perform that action at this time.
0 commit comments