What is the node-driver-registrar and how does it work?
masterThe node-driver-registrar is a sidecar container used to register a CSI driver with the Kubelet using the Kubernetes device plugin registration mechanism.
Because Kubelet is responsible for issuing CSI calls like NodeGetInfo, NodeStageVolume, and NodePublishVolume, the registrar must tell Kubelet which Unix domain socket to use for these interactions. It achieves this by creating a Registration socket and exposing it to Kubelet via a hostPath volume.