#KYAML
oh. someone in kubernetes is inventing a new subset of yaml

github.com/kubernetes/e...

it's json but with trailing commas, bare keys, but using '#' instead of `//`, which is probably the only difference between this and json5 heh
KEP-5295: KYAML by thockin · Pull Request #5296 · kubernetes/enhancements
This KEP proposes to add a new output format for kubectl, tentatively called “KYAML” (as in kubectl get -o kyaml ...). This format is a strict subset (aka “dialect”) of standard YAML, and so should...
github.com
June 17, 2025 at 2:04 AM
Not super involved upstream these days, but just saw the k8s project is creating a subset of YAML, called KYAML, that eliminates a lot of the problems of YAML. It is essentially “less annoying JSON”.

github.com/kubernetes/e...
github.com
July 30, 2025 at 4:34 PM
Vous détestez le JSON et le YAML ? Alors vous détesterez sûrement le KYAML !

github.com/kubernetes/e...
github.com
August 1, 2025 at 12:08 PM
Kubernetes 1.37 brings KYAML to Stable, enables HorizontalPodAutoscaler scale-to-zero by default, and delivers dozens of other improvements.
linuxiac.com/kubernetes-1...

#Kubernetes #OpenSource #DevOps
Kubernetes 1.37 “Garhwal” Brings KYAML to Stable
Kubernetes 1.37 brings KYAML to Stable, enables HorizontalPodAutoscaler scale-to-zero by default, and delivers dozens of other improvements.
linuxiac.com
September 4, 2026 at 3:42 PM
KYAML en K8s 1.37: freno al bug de Noruega en YAML

Un ConfigMap con null se crea sin error pero pierde el campo. Por que dry-run no lo detecta y como el bug de Noruega en YAML Kubernetes sigue vivo en 1.37

#kubernetes #kyaml #yaml #kubectl #devops
KYAML en K8s 1.37: freno al bug de Noruega en YAML
KYAML llega estable en Kubernetes 1.37, pero un ConfigMap con null o ~ se crea sin la clave y dry-run=server no lo detecta. Los datos reales de la prueba.
donweb.news
September 25, 2026 at 10:32 AM
Kyaml is literally valid jsonnet. Can’t make this stuff up, y’all have had this (and more) since 2016 🤣

thenewstack.io/kubernetes-i...
Kubernetes Will Solve YAML Headaches with KYAML
The new KYAML subset just for K8s relieves the need to count white spaces and solves the age-old "Norway" issue.
thenewstack.io
August 15, 2025 at 10:20 AM
FWIW, Ingy was helpful in reviewing KYAML, even if they are not a fan of it in the end.
July 30, 2025 at 9:46 PM
pouahahahahahahahahahhahahahaha mais désolé... on en peut plus...

"KSON combines the strengths of YAML and JSON"

cf post précédent sur le KYAML: bsky.app/profile/lea-...
September 19, 2025 at 7:21 AM
Conforme prometido, um pouco sobre o KYAML: www.rkatz.xyz/pt/post/2025...

Tentei dar uns exemplos, mostrar problemas do yaml e pq cue ou toml ou qualquer outra coisa que vc goste pode não ser a solução :)

Talvez eu atualize esse artigo um pouco mais explicando pq o kyaml tem esse formato
Sobre o KYAML e por que você deveria agradecer por essa nova feature
Um deep dive no KYAML, o motivo de ele ter sido criado, o que vai ajudar a melhorar no Kubernetes, etc
www.rkatz.xyz
August 29, 2025 at 3:21 PM
"Kubernetes 1.35 “Timbernetes” Introduces Vertical Scaling" thenewstack.io/kubernetes-1...
Kubernetes 1.35 "Timbernetes" Introduces Vertical Scaling
This release also features 60 enhancements, including a specialized KYAML format and gang scheduling for AI workloads, while phasing out legacy components like Ingress Nginx and cgroup v1.
thenewstack.io
December 17, 2025 at 8:51 PM
Amanhã devo soltar um blog post sobre o kyaml, pq ele é uma feature foda do Kubernetes e como essa preocupação que tenho visto com o formato ser verboso demais não condiz com a realidade :P me aguardem, cheio de ironia e amor

E podia ser pior, podia ser xml então parem de reclamar :x
August 29, 2025 at 1:17 AM
Esse kyaml eu só acho que é uma coisa que já existia. JSON5.

json5.org
August 29, 2025 at 11:03 AM
KYAMl: Looks like JSON, but named after YAML
www.reddit.com/r/kubernetes...

I still don't get trailing commas
From the kubernetes community on Reddit: KYAML: Looks like JSON, but named after YAML
Explore this post and more from the kubernetes community
www.reddit.com
August 4, 2025 at 3:47 AM
The "K" in KYAML stands for "Kapitulation".
August 27, 2025 at 8:26 AM
"The solution to YAML’s woes? Add in a pinch of JSON." 🤮🤮🤮🤮
August 25, 2025 at 4:29 PM
Just wait until 1.34 when the LLM has no concept of KYAML. It'll be extra fun then.
August 12, 2025 at 7:01 PM
Had a small hand in this one, primarily @thock.in's work: "Introducing KYAML, a safer, less ambiguous YAML subset / encoding"

Coming to Kubernetes v1.34 in alpha later this month!

github.com/kubernetes/e...
github.com
August 4, 2025 at 3:45 PM
O legal do KYAML é que quando você erra, o cluster não sobe. E quando acerta… também não.
August 25, 2025 at 4:04 PM
KEP PR with discussion, iterations, promotors, and detractors is here
github.com/kubernetes/e...

General quoting/escaping & Multi-line strings are big tradeoffs

"Imagine a KYAML formatted scalar that itself is a KYAML formatted multiline scalar containing code with double-quotes and backslashes."
KEP-5295: KYAML by thockin · Pull Request #5296 · kubernetes/enhancements
This KEP proposes to add a new output format for kubectl, tentatively called “KYAML” (as in kubectl get -o kyaml ...). This format is a strict subset (aka “dialect”) of standard YAML, and so should...
github.com
July 30, 2025 at 7:09 PM
How to Pretty-Print Your Kubernetes YAML as KYAML and Why You'd Want To

arc-codex.com
August 22, 2026 at 8:08 AM
With 3 releases each year, it cannot be easy to know the new features, changes and enhancements of Kubernetes.

Let's understanding Kubernetes 1.34 with this changelog in a visual way:
dev.to/aurelievache...

@cncf.io @kubernetes.io #DRA #KYAML
Understanding Kubernetes: part 59 – Kubernetes 1.34 Changelog
Serie of sketchnotes about Kubernetes. Explaining in a visual way Kubernetes principles.
dev.to
September 2, 2025 at 7:00 AM
Saw on 1.34 sneak peek, kyaml is cool!

github.com/kubernetes/e...
github.com
July 29, 2025 at 12:13 AM
Ein neuer YAML-Dialekt namens KYAML soll Kubernetes-Konfigurationsfehler vermeiden und vollständig abwärtskompatibel sein. Er kommt mit Kubernetes 1.34. #Kubernetes
heise+ | KYAML: Kubernetes 1.34 bekommt neues Datenformat
Ein neuer YAML-Dialekt namens KYAML soll Kubernetes-Konfigurationsfehler vermeiden und vollständig abwärtskompatibel sein. Er kommt mit Kubernetes 1.34.
www.heise.de
August 27, 2025 at 8:03 AM