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: keps/sig-node/3063-dynamic-resource-allocation/README.md
+15
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ SIG Architecture for cross-cutting KEPs).
98
98
-[Coordinating resource allocation through the scheduler](#coordinating-resource-allocation-through-the-scheduler)
99
99
-[Resource allocation and usage flow](#resource-allocation-and-usage-flow)
100
100
-[Scheduled pods with unallocated or unreserved claims](#scheduled-pods-with-unallocated-or-unreserved-claims)
101
+
-[Handling non graceful node shutdowns](#handling-non-graceful-node-shutdowns)
101
102
-[API](#api)
102
103
-[resource.k8s.io](#resourcek8sio)
103
104
-[core](#core)
@@ -1162,6 +1163,20 @@ Once all of those steps are complete, kubelet will notice that the claims are
1162
1163
ready and run the pod. Until then it will keep checking periodically, just as
1163
1164
it does for other reasons that prevent a pod from running.
1164
1165
1166
+
### Handling non graceful node shutdowns
1167
+
1168
+
When a node is shut down unexpectedly and is tainted with an `out-of-service`
1169
+
taint with NoExecute effect as explained in the [Non graceful node shutdown KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2268-non-graceful-shutdown),
1170
+
all running pods on the node will be deleted by the GC controller and the
1171
+
resources used by the pods will be deallocated. However, they will not be
1172
+
un-prepared as the node is down and Kubelet is not running on it.
1173
+
1174
+
Resource drivers should be able to handle this situation correctly and
1175
+
should not expect `UnprepareNodeResources` to be always called.
1176
+
If resources are unprepared when `Deallocate` is called, `Deallocate`
1177
+
might need to perform additional actions to correctly deallocate
1178
+
resources.
1179
+
1165
1180
### API
1166
1181
1167
1182
The PodSpec gets extended. To minimize the changes in core/v1, all new types
0 commit comments