Fix link for vsphere vsan pod
This commit is contained in:
parent
a1626be093
commit
6e3cc8129d
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue