Skip to content

Commit

Permalink
Tolerate the cray.nnf.node.drain taint
Browse files Browse the repository at this point in the history
NNF Daemonsets will be drained from nodes via the cray.nnf.node.drain taint.
The CSI driver must tolerate that so it can stick around and complete the
unmounts that k8s will request.

If CSI were allowed to be drained then nothing would remain to satisfy the k8s
unmounts, and k8s would leave the NNF software in Terminating state.

Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe committed Mar 12, 2024
1 parent 20fed6b commit 21f89f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ spec:
- key: "cray.nnf.node"
operator: "Equal"
value: "true"
effect: "NoSchedule"
effect: "NoSchedule"
- key: "cray.nnf.node.drain"
operator: "Exists"
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ spec:
- key: "cray.nnf.node"
operator: "Equal"
value: "true"
effect: "NoSchedule"
effect: "NoSchedule"
- key: "cray.nnf.node.drain"
operator: "Exists"

0 comments on commit 21f89f5

Please sign in to comment.