Fix orders of yaml of pods/init-containers.md (#14214)
The orders of kind and metadata were inconsistent, and that made the doc unreadable. This fixes the orders in consistent way under pods/init-containers.md.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0b0087329b
commit
e0cd1ee67d
@@ -156,8 +156,8 @@ spec:
|
||||
Yaml file below outlines the `mydb` and `myservice` services:
|
||||
|
||||
```yaml
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: myservice
|
||||
spec:
|
||||
@@ -166,8 +166,8 @@ spec:
|
||||
port: 80
|
||||
targetPort: 9376
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mydb
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user