Skip to content

Commit ca89875

Browse files
authored
Merge pull request #75412 from StephenJamesSmith/TELCODOCS-1825
TELCODOCS-1825: Add a webhook for namespace deletion
2 parents 3ace1f2 + 0a5508c commit ca89875

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/kmm-unloading-kernel-module.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,5 @@ You must unload the kernel modules when moving to a newer version or if they int
1616
====
1717
When unloading worker pods, KMM needs all the resources it uses when loading the kernel module. This includes the `ServiceAccount` referenced in the `Module` as well as any RBAC defined to allow privileged KMM worker Pods to run. It also includes any pull secret referenced in `.spec.imageRepoSecret`.
1818
19-
To avoid situations where KMM is unable to unload the kernel module from nodes:
20-
21-
* Do not delete those resources while the `Module` resource is still present in the cluster in any state, including `Terminating`.
22-
* Do not delete any namespace containing at least a `Module` resource.
19+
To avoid situations where KMM is unable to unload the kernel module from nodes, make sure those resources are not deleted while the `Module` resource is still present in the cluster in any state, including `Terminating`. KMM includes a validating admission webhook that rejects the deletion of namespaces that contain at least one `Module` resource.
2320
====

0 commit comments

Comments
 (0)