Skip to content

Commit 72542ad

Browse files
authored
Merge pull request #46123 from saschagrunert/mermaid-fix-2
Convert mermaid to svg for CRI blog post
2 parents 2fbafbf + ac28201 commit 72542ad

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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

0 commit comments

Comments
 (0)