35 lines
533 B
YAML
35 lines
533 B
YAML
|
---
|
||
|
|
||
|
apiVersion: v3
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: Some example YAML
|
||
|
spec:
|
||
|
simpleList:
|
||
|
- "Hello"
|
||
|
- "World!"
|
||
|
listOfMaps:
|
||
|
- name: front-end
|
||
|
image: nginx
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
- name: web-reader
|
||
|
image: web-reader-engine
|
||
|
ports:
|
||
|
- containerPort: 88
|
||
|
|
||
|
---
|
||
|
|
||
|
aSecondDocument: In the same file!
|
||
|
|
||
|
preserveNewlines: |
|
||
|
Each of these
|
||
|
newlines will be
|
||
|
broken up.
|
||
|
|
||
|
autoWrap: >
|
||
|
This text is wrapped
|
||
|
and will be formed into
|
||
|
a single paragraph with
|
||
|
a trailing newline.
|