If k8s was being designed from ground up I would want a move away from yaml for configuration to a strongly typed DSL, something like gradle doing with move to Kotlin DSL from weak groovy DSL.
This would mean better integration/autocomplete in editors and no time wasted on silly things like number of indents being wrong.