pv: enable yaml syntax highlighting

This commit is contained in:
Sunny
2018-01-18 11:42:23 +05:30
committed by GitHub
parent ac1cc4e9b6
commit 9df19081b2
+3 -3
View File
@@ -475,7 +475,7 @@ spec:
Static provisioning support for Raw Block Volumes is included as an alpha feature for v1.9. With this change are some new API fields that need to be used to facilitate this functionality. Currently, Fibre Channel is the only supported plugin for this feature.
### Persistent Volumes using a Raw Block Volume
```
```yaml
apiVersion: v1
kind: PersistentVolume
metadata:
@@ -493,7 +493,7 @@ spec:
readOnly: false
```
### Persistent Volume Claim requesting a Raw Block Volume
```
```yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@@ -507,7 +507,7 @@ spec:
storage: 10Gi
```
### Pod specification adding Raw Block Device path in container
```
```yaml
apiVersion: v1
kind: Pod
metadata: