From 561c0708b78eed8120b90f0221cd66730c9e8a74 Mon Sep 17 00:00:00 2001 From: leonwang Date: Sat, 3 Feb 2018 09:27:38 +0000 Subject: Add csi plugin ansible and tutorial document As discussed on Compass4NFV meeting this week, we need to add the support for csi-plugin. So in this patch I extend nbp-ansible to support integrating with k8s using csi. All the detailed information can be found in documents. Besides, since opensds community has updated something in opensds ansible, we should update ours to keep up with the latest code. Change-Id: I238c7f7652b6a9c86cc9fcb24d9575d625c5f80a Signed-off-by: leonwang --- tutorials/flexvolume-plugin.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tutorials/flexvolume-plugin.md') 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 -- cgit 1.2.3-korg