X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tutorials%2Fflexvolume-plugin.md;fp=tutorials%2Fflexvolume-plugin.md;h=c85d7526a228eac1fd8758f9e45e8e9db5a0ce7a;hb=561c0708b78eed8120b90f0221cd66730c9e8a74;hp=450acd5ad6c0914d19e2e401393644e055ba9c6e;hpb=1dc4e57ae38ea5a4989aeb382c3450a26363ead5;p=stor4nfv.git diff --git a/tutorials/flexvolume-plugin.md b/tutorials/flexvolume-plugin.md index 450acd5..c85d752 100644 --- a/tutorials/flexvolume-plugin.md +++ b/tutorials/flexvolume-plugin.md @@ -1,4 +1,5 @@ ## Prerequisite ## + ### ubuntu * Version information @@ -6,6 +7,7 @@ root@proxy:~# cat /etc/issue Ubuntu 16.04.2 LTS \n \l ``` + ### docker * Version information @@ -55,14 +57,14 @@ * Create service account, role and bind them. ``` - cd /opt/opensds-k8s-linux-amd64/provisioner + cd /opt/opensds-k8s-{release version}-linux-amd64/provisioner kubectl create -f serviceaccount.yaml kubectl create -f clusterrole.yaml kubectl create -f clusterrolebinding.yaml ``` * Change the opensds endpoint IP in pod-provisioner.yaml -The IP (192.168.56.106) should be replaced with the OpenSDS osdslet actual endpoint IP. +The IP ```192.168.56.106``` should be replaced with the OpenSDS osdslet actual endpoint IP. ```yaml kind: Pod apiVersion: v1 @@ -72,7 +74,7 @@ The IP (192.168.56.106) should be replaced with the OpenSDS osdslet actual endpo serviceAccount: opensds-provisioner containers: - name: opensds-provisioner - image: opensdsio/opensds-provisioner + image: opensdsio/opensds-provisioner:latest securityContext: args: - "-endpoint=http://192.168.56.106:50040" # should be replaced