What is YAML?
A human-readable data serialization language commonly used for configuration files in DevOps tools and applications.
YAML (YAML Ain't Markup Language) uses indentation-based structure to represent data. It supports scalars, lists, and dictionaries. Example: name: John, items: [a, b, c]. YAML is more readable than JSON but sensitive to whitespace.
Widely used in Kubernetes manifests, Docker Compose files, Ansible playbooks, GitHub Actions, and application configuration. YAML supports comments (unlike JSON), multi-line strings, anchors (reuse), and complex data types.