Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ST
stefan @lemmy.kopieczek.com
Posts 1
Comments 4
VMs or containers?
  • Why not do both? I run proxmox on my physical hardware, then have guest VMs within proxmox that run k8s.

    Advantages of proxmox:

    • Proxmox makes it easy to spin up VMs for non self host purposes (say I want to play with NixOS)
    • Proxmox snapshots make migrations and configuration changes a bit safer (I recently messed up a postgres 15 migration and was able to roll back in a button press)

    You can then just run docker images through Proxmox, but I like k8s (specifically k3s) because:

    Advantages of k8s:

    • Certmanager means your HTTP services automatically get assigned TLS certs essentially for free (once you've set up cert manager for the first time, anyway)
    • I find k8s' YML-based configuration easier to track and manage. I can spin my containers up fresh just from my config, without worrying about stray environment settings I might not have backed up.
    • k8s makes it easy for me to reason about which services are exposed internally to each other, and which are exposed on the host outside of my k8s cluster.
    • k8s services get persistent DNS and IPs within the cluster, so configuring nodes to talk to each other is very easy.

    And yeah, this way I get to learn two technologies rather than one 😁

  • Docker & Reverse Proxies
  • I use the built-in Traefik that ships with k3s. Works great for me – a bit of a learning curve, as I was really only familiar with Nginx, but now that I'm more used to it I'm a big fan.

  • It's always DNS, should I complain?
  • You can confirm this as follows. Grab a laptop and:

    • Confirm that on the university internet, 8.8.8.8 resolves the wrong domain.
    • Set up a hotspot from your mobile phone, connect the laptop there, then try again.

    If the behaviour is different depending on your network, your uni must be redirecting DNS.

  • Meta @lemmy.kopieczek.com stefan @lemmy.kopieczek.com

    Hello world!

    This is our first post. If you can read this, all systems are go!

    2