I’m currently struggling with upgrading some Postgres DBs on my home-k3s and I’m seriously considering throwing it all away since it’s such a hassle.

So, how do you handle DBs? K8s? Just a regular daemon?

  • BrianTheeBiscuiteer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Never tried it but kubegres seems like a good implementation for kubernetes. I guess if you just have a single-node cluster there won’t be much benefit but it seems a periodic backup to NFS is key (you can run NFS on most anything).

    • AggressivelyPassive@feddit.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      What currently pisses me off is the fact that it’s almost impossible to do proper migrations for Postgres in k8s. I’d have to look into kubegres, but all approaches I’ve seen so far involve basically copying the entire PVC and the data inside into a new structure - and doing so involves hacked together scripts.