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 file below outlines the `mydb` and `myservice` services:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: myservice
|
name: myservice
|
||||||
spec:
|
spec:
|
||||||
@@ -166,8 +166,8 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 9376
|
targetPort: 9376
|
||||||
---
|
---
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: mydb
|
name: mydb
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
Reference in New Issue
Block a user