• @[email protected]
    link
    fedilink
    English
    41 month ago

    YAML is great if you need to make simple configuration files

    … which is why no one uses it for things like Kubernetes /s

    • @[email protected]
      link
      fedilink
      English
      41 month ago

      To be “fair” kubernetes api only supports strongly validated/typed YAML-ish input…, it won’t let you put non-string values in string locations. And in reality at the HTTP api layer—at least for kubectl—json is used. (Which also means you cant’ do the more weird occult YAML things that JSON wouldn’t let you)

      You have to blame the deep-nestedness of k8s resources for unreadability…

      • @[email protected]
        link
        fedilink
        English
        31 month ago

        You have to blame the deep-nestedness of k8s resources for unreadability

        this shit happens because FUCKING GO is a piece of shit (cf that post (from iirc fasterthanlime?) about how the go apis infect everything)

        which should not be read as me supporting k8s, fwiw. fuck that noise too.