Merge pull request #7006 from darkowlzz/patch-1

pv: enable yaml syntax highlighting
This commit is contained in:
Joseph Heck
2018-01-18 13:52:48 -08:00
committed by GitHub
+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. 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 ### Persistent Volumes using a Raw Block Volume
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
@@ -493,7 +493,7 @@ spec:
readOnly: false readOnly: false
``` ```
### Persistent Volume Claim requesting a Raw Block Volume ### Persistent Volume Claim requesting a Raw Block Volume
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
@@ -507,7 +507,7 @@ spec:
storage: 10Gi storage: 10Gi
``` ```
### Pod specification adding Raw Block Device path in container ### Pod specification adding Raw Block Device path in container
``` ```yaml
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata: