Fix orders of yaml of concepts/storage/* (#14213)
The orders of kind and metadata were inconsistent, and that made the doc unreadable. This fixes the orders in consistent way under concepts/storage/.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f952ac106f
commit
6b46deab6e
@@ -198,8 +198,8 @@ the following types of volumes:
|
|||||||
You can only expand a PVC if its storage class's `allowVolumeExpansion` field is set to true.
|
You can only expand a PVC if its storage class's `allowVolumeExpansion` field is set to true.
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: gluster-vol-default
|
name: gluster-vol-default
|
||||||
provisioner: kubernetes.io/glusterfs
|
provisioner: kubernetes.io/glusterfs
|
||||||
@@ -442,8 +442,8 @@ The CLI will show the name of the PVC bound to the PV.
|
|||||||
Each PVC contains a spec and status, which is the specification and status of the claim.
|
Each PVC contains a spec and status, which is the specification and status of the claim.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: myclaim
|
name: myclaim
|
||||||
spec:
|
spec:
|
||||||
@@ -531,8 +531,8 @@ it won't be supported in a future Kubernetes release.
|
|||||||
Pods access storage by using the claim as a volume. Claims must exist in the same namespace as the pod using the claim. The cluster finds the claim in the pod's namespace and uses it to get the `PersistentVolume` backing the claim. The volume is then mounted to the host and into the pod.
|
Pods access storage by using the claim as a volume. Claims must exist in the same namespace as the pod using the claim. The cluster finds the claim in the pod's namespace and uses it to get the `PersistentVolume` backing the claim. The volume is then mounted to the host and into the pod.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: Pod
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: mypod
|
name: mypod
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ request any particular class to bind to: see the
|
|||||||
for details.
|
for details.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: standard
|
name: standard
|
||||||
provisioner: kubernetes.io/aws-ebs
|
provisioner: kubernetes.io/aws-ebs
|
||||||
@@ -167,8 +167,8 @@ zones and should be used as a replacement for the `zone` and `zones` parameters
|
|||||||
supported plugins.
|
supported plugins.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: standard
|
name: standard
|
||||||
provisioner: kubernetes.io/gce-pd
|
provisioner: kubernetes.io/gce-pd
|
||||||
@@ -194,8 +194,8 @@ used.
|
|||||||
### AWS EBS
|
### AWS EBS
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: slow
|
name: slow
|
||||||
provisioner: kubernetes.io/aws-ebs
|
provisioner: kubernetes.io/aws-ebs
|
||||||
@@ -236,8 +236,8 @@ parameters:
|
|||||||
### GCE PD
|
### GCE PD
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: slow
|
name: slow
|
||||||
provisioner: kubernetes.io/gce-pd
|
provisioner: kubernetes.io/gce-pd
|
||||||
@@ -356,8 +356,8 @@ parameters:
|
|||||||
### OpenStack Cinder
|
### OpenStack Cinder
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: gold
|
name: gold
|
||||||
provisioner: kubernetes.io/cinder
|
provisioner: kubernetes.io/cinder
|
||||||
@@ -378,8 +378,8 @@ This internal provisioner of OpenStack is deprecated. Please use [the external c
|
|||||||
1. Create a StorageClass with a user specified disk format.
|
1. Create a StorageClass with a user specified disk format.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: fast
|
name: fast
|
||||||
provisioner: kubernetes.io/vsphere-volume
|
provisioner: kubernetes.io/vsphere-volume
|
||||||
@@ -392,8 +392,8 @@ This internal provisioner of OpenStack is deprecated. Please use [the external c
|
|||||||
2. Create a StorageClass with a disk format on a user specified datastore.
|
2. Create a StorageClass with a disk format on a user specified datastore.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: fast
|
name: fast
|
||||||
provisioner: kubernetes.io/vsphere-volume
|
provisioner: kubernetes.io/vsphere-volume
|
||||||
@@ -446,8 +446,8 @@ which you try out for persistent volume management inside Kubernetes for vSphere
|
|||||||
### Ceph RBD
|
### Ceph RBD
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: fast
|
name: fast
|
||||||
provisioner: kubernetes.io/rbd
|
provisioner: kubernetes.io/rbd
|
||||||
@@ -544,8 +544,8 @@ parameters:
|
|||||||
#### Azure Unmanaged Disk Storage Class
|
#### Azure Unmanaged Disk Storage Class
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: slow
|
name: slow
|
||||||
provisioner: kubernetes.io/azure-disk
|
provisioner: kubernetes.io/azure-disk
|
||||||
@@ -565,8 +565,8 @@ parameters:
|
|||||||
#### New Azure Disk Storage Class (starting from v1.7.2)
|
#### New Azure Disk Storage Class (starting from v1.7.2)
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: slow
|
name: slow
|
||||||
provisioner: kubernetes.io/azure-disk
|
provisioner: kubernetes.io/azure-disk
|
||||||
@@ -592,8 +592,8 @@ parameters:
|
|||||||
### Azure File
|
### Azure File
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: azurefile
|
name: azurefile
|
||||||
provisioner: kubernetes.io/azure-file
|
provisioner: kubernetes.io/azure-file
|
||||||
@@ -620,8 +620,8 @@ add the `create` permission of resource `secret` for clusterrole
|
|||||||
### Portworx Volume
|
### Portworx Volume
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: portworx-io-priority-high
|
name: portworx-io-priority-high
|
||||||
provisioner: kubernetes.io/portworx-volume
|
provisioner: kubernetes.io/portworx-volume
|
||||||
@@ -655,8 +655,8 @@ parameters:
|
|||||||
### ScaleIO
|
### ScaleIO
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: slow
|
name: slow
|
||||||
provisioner: kubernetes.io/scaleio
|
provisioner: kubernetes.io/scaleio
|
||||||
@@ -696,8 +696,8 @@ kubectl create secret generic sio-secret --type="kubernetes.io/scaleio" \
|
|||||||
### StorageOS
|
### StorageOS
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: fast
|
name: fast
|
||||||
provisioner: kubernetes.io/storageos
|
provisioner: kubernetes.io/storageos
|
||||||
@@ -747,8 +747,8 @@ references it.
|
|||||||
{{< feature-state for_k8s_version="v1.14" state="stable" >}}
|
{{< feature-state for_k8s_version="v1.14" state="stable" >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: StorageClass
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: local-storage
|
name: local-storage
|
||||||
provisioner: kubernetes.io/no-provisioner
|
provisioner: kubernetes.io/no-provisioner
|
||||||
|
|||||||
Reference in New Issue
Block a user