Merge pull request #150 from abrarshivani/vsphere_link_fix

Fix link for pod yaml in vSphere Volumes README
This commit is contained in:
sebgoa 2017-11-30 21:09:41 +01:00 committed by GitHub
commit 6591a9be0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View File

@ -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:

View File

@ -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