Add csi plugin ansible and tutorial document
[stor4nfv.git] / tutorials / flexvolume-plugin.md
index 450acd5..c85d752 100644 (file)
@@ -1,4 +1,5 @@
 ## Prerequisite ##\r
+\r
 ### ubuntu\r
 * Version information\r
 \r
@@ -6,6 +7,7 @@
        root@proxy:~# cat /etc/issue\r
        Ubuntu 16.04.2 LTS \n \l\r
        ```\r
+\r
 ### docker\r
 * Version information\r
 \r
 \r
 * Create service account, role and bind them.\r
        ```\r
-       cd /opt/opensds-k8s-linux-amd64/provisioner\r
+       cd /opt/opensds-k8s-{release version}-linux-amd64/provisioner\r
        kubectl create -f serviceaccount.yaml\r
        kubectl create -f clusterrole.yaml\r
        kubectl create -f clusterrolebinding.yaml\r
        ```\r
 \r
 * Change the opensds endpoint IP in pod-provisioner.yaml\r
-The IP (192.168.56.106) should be replaced with the OpenSDS osdslet actual endpoint IP.\r
+The IP ```192.168.56.106``` should be replaced with the OpenSDS osdslet actual endpoint IP.\r
     ```yaml\r
     kind: Pod\r
     apiVersion: v1\r
@@ -72,7 +74,7 @@ The IP (192.168.56.106) should be replaced with the OpenSDS osdslet actual endpo
       serviceAccount: opensds-provisioner\r
       containers:\r
         - name: opensds-provisioner\r
-          image: opensdsio/opensds-provisioner\r
+          image: opensdsio/opensds-provisioner:latest\r
           securityContext:\r
           args:\r
             - "-endpoint=http://192.168.56.106:50040" # should be replaced\r