News for hackers. Stuff that matters.
Re:Managing my personnal servers in 2020 with K3s by neurostimulant on Thursday November 05, 2020 @11:32PM (#25004920)
I actually do this on my small vps (on dedicated servers I usually uses RKE). k3s + nfs server so I can use nfs volume mounts. Like other said, k3s consume ~500mb of ram, so keep that in mind that if your vps has small amount of ram. Idle cpu usage is pretty small though, I only see ~5% or less on my small vps. Don't use traefik because the documentation sucks for now, v1 and v2 has different configuration and google often return results for v1, making things harder.
Re:Managing my personnal servers in 2020 with K3s by darumderum on Friday November 06, 2020 @04:17AM (#25006254)
I can't confirm this. I use traefik (+ Docker) for almost everything now. First thing I do with a new server is setup traefik as a systemd service. Everything runs smoothly and I didn't have any issues with the documentation. In fact, when I first tried it I was surprised because it just worked. It worked instantly. No googling, no weird errors, it just worked. Once you have a good understanding of how it works, it's just easy. I now have my default configuration which I can use almost everywhere. Also, automatic Let's Encrypt certificates are a big +
Re:Managing my personnal servers in 2020 with K3s by neurostimulant on Friday November 06, 2020 @10:04AM (#25008065)
For use with vanilla docker and docker compose, traefik is absolutely convenient, though the issue with googling v1/v2 docs remains and will bite new user. But for use in kubernetes, I think sticking with nginx ingress and cert manager is better for new users as they basically provide similar fictionally (traefik is not marginally easier to use here) and there are myriads of resources on the internet available on how to use them.
Re:Managing my personnal servers in 2020 with K3s by GordonS on Sunday November 08, 2020 @01:11PM (#25027544)
If you're running other stuff in containers, I'm just curious why you'd choose to run Traefik outside a container?
Re:Managing my personnal servers in 2020 with K3s by darumderum on Thursday November 12, 2020 @04:29AM (#25068080)
Actually, it still runs inside a container using docker-compose. I just like it to set up my docker composes as a service
Re:Managing my personnal servers in 2020 with K3s by mattrick on Friday November 06, 2020 @02:11AM (#25005654)
I spent waaaay too much time debugging configuration because I was running v2 but Google results gave me v1 options...maybe would have been a good idea to warn the user if they're using the old configuration format (afaik I didn't ever see a warning in logs).