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/guides/node-management/drain.md
+62-4Lines changed: 62 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,40 @@
1
-
# Draining A Node
1
+
# Disable Or Drain A Node
2
+
3
+
## Disabling a node
4
+
5
+
A Rabbit node can be manually disabled, indicating to the WLM that it should not schedule more jobs on the node. Jobs currently on the node will be allowed to complete at the discretion of the WLM.
6
+
7
+
Disable a node by setting its Storage state to `Disabled`.
The NNF software consists of a collection of DaemonSets and Deployments. The pods
4
40
on the Rabbit nodes are usually from DaemonSets. Because of this, the `kubectl drain`
@@ -9,7 +45,11 @@ Given the limitations of DaemonSets, the NNF software will be drained by using t
9
45
as described in
10
46
[Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/).
11
47
12
-
## Drain NNF Pods From A Rabbit Node
48
+
This would be used only after the WLM jobs have been removed from that Rabbit (preferably) and there is some reason to also remove the NNF software from it. This might be used before a Rabbit is powered off and pulled out of the cabinet, for example, to avoid leaving pods in "Terminating" state (harmless, but it's noise).
49
+
50
+
If an admin used this taint before power-off it would mean there wouldn't be "Terminating" pods lying around for that Rabbit. After a new/same Rabbit is put back in its place, the NNF software won't jump back on it while the taint is present. The taint can be removed at any time, from immediately after the node is powered off up to some time after the new/same Rabbit is powered back on.
51
+
52
+
### Drain NNF pods from a rabbit node
13
53
14
54
Drain the NNF software from a node by applying the `cray.nnf.node.drain` taint.
15
55
The CSI driver pods will remain on the node to satisfy any unmount requests from k8s
0 commit comments