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.
```
sudo su
apt update
apt install -y open-iscsi
sudo apt update
sudo apt install -y open-iscsi
```
#### 3. Modify configuration for iscsi.
1. Open config file `/etc/iscsi/iscsid.conf`
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.
## Reference
https://github.com/kubernetes-csi/driver-registrar
https://github.com/kubernetes-csi/driver-registrar