Skip to content

Commit

Permalink
fix doc about csi socket path
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Cyvoct <[email protected]>
  • Loading branch information
Sh4d1 committed Dec 4, 2019
1 parent 204944a commit bd643ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ There are two UNIX domain sockets used by the node-driver-registrar:
* CSI driver socket:
* Used by kubelet to interact with the CSI driver.
* Created by the CSI driver.
* Exposed on a Kubernetes node via hostpath somewhere other than the Kubelet.
plugin registry (typically `/var/lib/kubelet/plugins/<drivername.example.com>/csi.sock`).
* Exposed on a Kubernetes node via hostpath somewhere other than the Kubelet plugin registry. (typically `/var/lib/kubelet/csi-plugins/<drivername.example.com>/csi.sock`).
* This is the socket referenced by the `--csi-address` and `--kubelet-registration-path` arguments.
* Note that if the csi socket is in the `/var/lib/kubelet/plugins/` path, kubelet may log a lot of harmful errors regarding grpc `GetInfo` call not implemented (see kubernetes/kubernetes#70485)

### Required arguments

Expand All @@ -58,7 +58,7 @@ rules are needed.
It does, however, need to be able to mount hostPath volumes and have the file
permissions to:

* Access the CSI driver socket (typically in `/var/lib/kubelet/plugins/<drivername.example.com>/`).
* Access the CSI driver socket (typically in `/var/lib/kubelet/csi-plugins/<drivername.example.com>/`).
* Used by the `node-driver-registrar` to fetch the driver name from the driver
contain (via the CSI `GetPluginInfo()` call).
* Access the registration socket (typically in `/var/lib/kubelet/plugins_registry/`).
Expand Down Expand Up @@ -92,7 +92,7 @@ the actual driver's name.
type: Directory
- name: plugin-dir
hostPath:
path: /var/lib/kubelet/plugins/<drivername.example.com>/
path: /var/lib/kubelet/csi-plugins/<drivername.example.com>/
type: DirectoryOrCreate
```

Expand Down

0 comments on commit bd643ab

Please sign in to comment.