diff --git a/docs/csiaddonsnode.md b/docs/csiaddonsnode.md index cb6076955..33ae2b5f9 100644 --- a/docs/csiaddonsnode.md +++ b/docs/csiaddonsnode.md @@ -18,3 +18,10 @@ spec: - `name` contains the name of the driver. The name of the driver is in the format: `driver.csi.example.io` - `endpoint` contains the URL that contains the name of the Pod and its Namespace that can be used by the controller to connect to. - `nodeID` contains the ID of node to identify on which node the side-car is running. + +## Lifecycle of CSIAddonsNode CR + +The CSIAddonsNode custom resource (CR) is created by the sidecar that runs with the CSI driver. +The owner of the CSIAddonsNode CR is the main owner of the sidecar pod, whether it's a DaemonSet or a Deployment. +When the sidecar pod is deleted, the CSIAddonsNode CR is not removed; instead, it gets updated with new information when the pod is recreated. +The CSIAddonsNode CR is deleted only when the CSI driver’s Deployment or DaemonSet is deleted.