Yaml

YAML

Commands

Syntax

Adding comments

single-line YAML

# This Deployment runs on our CI machine
kind: Deployment

Making inline YAML comments

spec:
  retry: 3    # 3 retries will run; this gives us redundancy

block YAML

# Line 1
# Line 2
# Line 3 
kind: Deployment

yaml comments