• JFranek@awful.systems
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    YAML is great if you need to make simple configuration files

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

    • zogwarg@awful.systems
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months 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…

      • froztbyte@awful.systems
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months 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.