YAML Multi-Document Streams/Explicit document end marker

Use `...` to mark the end of a document when needed.

Section: Multi-document YAML

Explicit document end marker

yaml
yaml
name: sample
...
Explanation

The end marker is less common, but it can help in streamed or generated YAML.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Multi-document YAML
Two YAML documents in one file
Use `---` to separate resources or configs.
OpenIn sheetyamlsame section
Apply a multi-document manifest
Send several Kubernetes resources in one file.
OpenIn sheetbashsame section
Split YAML documents into separate files
Write each YAML document to its own output file.
OpenIn sheetbashsame section
Read the first YAML document
Query the first document in a stream.
OpenIn sheetbash1 tag match
Select Kubernetes documents by kind
Filter documents in a manifest stream.
OpenIn sheetbash1 tag match
Render Helm templates to YAML
Generate YAML output for inspection before deployment.
OpenIn sheetbash1 tag match