Glossary

YAML

YAM-ul

A human-friendly data format that uses indentation instead of brackets, common in config files.

YAML (rhymes with “camel”) is a data format designed to be easy for humans to read and write. It’s used for config files in tools like GitHub Actions, Docker Compose and Kubernetes.

Example

name: Deploy
on: push
jobs:
  build:
    runs-on: ubuntu-latest

Rules worth knowing

  • Indentation defines the structure, and it must be spaces, never tabs.
  • Comments start with #.yammel
  • Strings usually don’t need quotes. Convenient, but sometimes surprising: older parsers read no as false.

The name stands for “YAML Ain’t Markup Language.”

Related: JSON.