Update rancheros.md

This commit is contained in:
Sheng Yang 2019-03-25 16:46:38 -07:00 committed by GitHub
parent 7691a575a5
commit 9a17007661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,15 +25,14 @@
#### 2. Install open-iscsi for each node. #### 2. Install open-iscsi for each node.
``` ```
sudo su sudo apt update
apt update sudo apt install -y open-iscsi
apt install -y open-iscsi
``` ```
#### 3. Modify configuration for iscsi. #### 3. Modify configuration for iscsi.
1. Open config file `/etc/iscsi/iscsid.conf` 1. Open config file `/etc/iscsi/iscsid.conf`
2. Comment `iscsid.startup = /bin/systemctl start iscsid.socket` 2. Comment `iscsid.startup = /bin/systemctl start iscsid.socket`
3. Uncomment `iscsid.startup = /sbin/iscsid` 3. Uncomment `iscsid.startup = /sbin/iscsid`
@ -61,4 +60,4 @@ CSI doesn't work with RancherOS + RKE before Longhorn v0.4.1. The reason is:
Hence Kubernetes cannot connect to Longhorn using CSI driver. Hence Kubernetes cannot connect to Longhorn using CSI driver.
## Reference ## Reference
https://github.com/kubernetes-csi/driver-registrar https://github.com/kubernetes-csi/driver-registrar