github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/staging/volumes/cinder/README.md (about) 1 This is a simple web server pod which serves HTML from an Cinder volume. 2 3 Create a volume in the same tenant and zone as your node. 4 5 Add your volume information in the pod description file cinder-web.yaml then create the pod: 6 7 ```shell 8 $ kubectl create -f examples/volumes/cinder/cinder-web.yaml 9 ``` 10 11 Add some data to the volume if is empty: 12 13 ```sh 14 $ echo "Hello World" >& /var/lib/kubelet/plugins/kubernetes.io/cinder/mounts/{Volume ID}/index.html 15 ``` 16 17 You should now be able to query your web server: 18 19 ```sh 20 $ curl <Pod IP address> 21 $ Hello World 22 ``` 23 24 25 <!-- BEGIN MUNGE: GENERATED_ANALYTICS --> 26 []() 27 <!-- END MUNGE: GENERATED_ANALYTICS -->