From 6e3cc8129de0f00d07bcc74b1ae24cc41f592cb6 Mon Sep 17 00:00:00 2001 From: Abrar Shivani Date: Mon, 27 Nov 2017 21:03:40 -0800 Subject: [PATCH] Fix link for vsphere vsan pod --- staging/volumes/vsphere/README.md | 4 ++-- .../vsphere/vsphere-volume-pvcscvsanpod.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 staging/volumes/vsphere/vsphere-volume-pvcscvsanpod.yaml diff --git a/staging/volumes/vsphere/README.md b/staging/volumes/vsphere/README.md index b76ccc65..02e3f302 100644 --- a/staging/volumes/vsphere/README.md +++ b/staging/volumes/vsphere/README.md @@ -578,12 +578,12 @@ claimName: pvcsc-vsan ``` - [Download example](vsphere-volume-pvcscpod.yaml?raw=true) + [Download example](vsphere-volume-pvcscvsanpod.yaml?raw=true) Creating the pod: ``` bash - $ kubectl create -f examples/volumes/vsphere/vsphere-volume-pvcscpod.yaml + $ kubectl create -f examples/volumes/vsphere/vsphere-volume-pvcscvsanpod.yaml ``` Verifying pod is created: diff --git a/staging/volumes/vsphere/vsphere-volume-pvcscvsanpod.yaml b/staging/volumes/vsphere/vsphere-volume-pvcscvsanpod.yaml new file mode 100644 index 00000000..6c34f0f9 --- /dev/null +++ b/staging/volumes/vsphere/vsphere-volume-pvcscvsanpod.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: pvpod +spec: + containers: + - name: test-container + image: gcr.io/google_containers/test-webserver + volumeMounts: + - name: test-volume + mountPath: /test + volumes: + - name: test-volume + persistentVolumeClaim: + claimName: pvcsc-vsan