concept
YAML syntax for manifests
YAML mappings contain unique keys; sequences preserve item order; scalars represent individual values. Spaces determine block nesting. JSON represents equivalent simple data using objects and arrays. Quote text when an API expects a string.
Formal Syntax & Structure
kubernetes syntaxkubernetes
YAML syntax for manifestsWorking Example
Example Snippetkubernetes
catalog: enabled: true replicas: 2 version: "2" sections: - books - magazines