YAML is bad whats the alternative

YAML […] human-friendly […]

May I disagree?

Too Vertical

I can’t grok a YAML that is longer than it is wide.

Also vice-versa.

Tippy Taps or just Tap

Why does your format make me press shift-tab key so often? That’s way too many chorded taps.

Lists are not listening

Finally a list. Do we indent or don’t we? The equivalent to inserting a USB-A stick. Oh no, why does it look that way?

Looks are everything

Let’s not fool ourselves.

Is it sinful to yaml?

P1: God is in the details. P2: All details are made by humans. P3: YAML is made by humans. P4: Any Gods except the one true God are demonic. C: Somewhere in this YAML file here is a bezelbub to be found.

Why won’t it stop

We dug too deep and too greedily in the mines of go-k8s and now for the next 25 years we will have the to pay the price.

What then?

hedge knights sleep under the stars

I propose hedge:

# COMPONENT DEFINITION
Component   Deployment
Name        nginx-layout
Zone        production

# LAYOUT & SCALING
Replicas    3
Strategy    RollingUpdate

# VISUALS (METADATA)
Labels
    App     nginx
    Tier    frontend

# CONTENT (CONTAINERS)
# The schema knows 'Container' starts a list item
Container   nginx-main
    Image   nginx:1.21
    Port    80
    CPU     500m

Container   sidecar-logger
    Image   fluentd
    Role    logging
Enjoyed this post or have feedback?
← Structs as mutable interfaces in Go