You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pod-sandbox-lifecycle.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This NRI specification details when and under what conditions NRI plugins receiv
14
14
15
15
The pod sandbox lifecycle consists of three distinct phases, each with a corresponding NRI event that plugins can subscribe to:
16
16
17
-
1.**RunPodSandbox**: Fired during the the runtime CRI RunPodSandbox execution, after the PodSandbox is created but before setting the pod to running and then replying success to CRI RunPodSandbox request.
17
+
1.**RunPodSandbox**: Fired during the runtime CRI RunPodSandbox execution, after the PodSandbox is created but before setting the pod to running and then replying success to CRI RunPodSandbox request.
18
18
2.**StopPodSandbox**: Fired when the runtime initiates CRI StopPodSandbox
19
19
3.**RemovePodSandbox**: Fired when the runtime performs CRI RemovePodSandbox
20
20
@@ -35,6 +35,7 @@ When the runtime fires the RunPodSandbox NRI event, it guarantees:
35
35
36
36
- The Pod-level cgroup hierarchy has been established
37
37
- The Sandbox namespaces (IPC, Network, UTS) are created and active
38
+
- The Sandbox will not be reused
38
39
- Network setup has been fully configured (network interfaces are up and assigned addressing)
39
40
- The pod IP address (if applicable) is assigned and available
40
41
- The "pause" container (if the runtime uses one) is running
@@ -138,7 +139,7 @@ These events are delivered to plugins using the RunPodSandbox, StopPodSandbox an
138
139
139
140
### Timeout Handling
140
141
141
-
All plugin processing must complete within the configured request timeout. Plugins should plan accordingly:
142
+
All plugin processing must complete within the configured request timeout. A plugin timeout is treated as an error by the runtime:
142
143
143
144
-**RunPodSandbox**: Failure may result in pod creation failure
144
145
-**StopPodSandbox**: Non-blocking for subsequent operations; the plugin should not depend on completion of subsequent teardown
0 commit comments