jlh

joined 1 year ago
[–] jlh@lemmy.jlh.name 38 points 6 days ago

Slavery is wrong, period.

[–] jlh@lemmy.jlh.name 3 points 6 days ago* (last edited 6 days ago)

Go for it!

Hetzner currently doesn't have a managed kubernetes option, so you have to set it up manually with Terraform, but there are a few terraform modules out there that have everything you need. The rumor is that they are working on a managed kubernetes offering, so that will be something simpler in the future.

Their api is compatible with all the Kubernetes automation, so all the autoscaling stuff is all automatic once you have it set up, and bullet-proof. Just use the k8s HPA to start and stop new containers based on cpu, or prometheus metrics if youre feeling fancy, and then kubernetes node autoscaler will create and delete nodes automatically for you based on your containers' cpu/ram reservations.

Let me know if you need documentation links for something.

[–] jlh@lemmy.jlh.name 3 points 6 days ago

For the firewall issue, could you keep the cluster on its own vpc, and then use load balancer annotations to do per-service firewalls?

https://docs.digitalocean.com/products/kubernetes/how-to/configure-load-balancers/#firewall-rules

[–] jlh@lemmy.jlh.name 39 points 6 days ago* (last edited 6 days ago) (3 children)

I understand why Democrats are falling back on arguments like this in the face of open facism, but it's fitting that this week is the the 86th anniversary of the kristallnacht pogrom. Somebody tell Hitler and Goebbels not to dehumanize and attack all those jews, because it would be, like, totally bad for the economy or something.

The point of Trump's rhetoric against immigrants is to dehumanize them and scapegoat them for all of the US's problems. We do the same here in Sweden, when our politicans say we're being "naiive", and we call immigrants disloyal to Sweden, welfare frausters, and terrorists. We accuse their culture of being anti-democratic, sexist, and promoting child abuse. We scapegoat them for our crime issues, antisemitism issues, and impoverished neighborhoods.

Just the first step in dehumanizing an entire 1M+ group of people.

[–] jlh@lemmy.jlh.name 3 points 1 week ago

Their Terraform support is top notch too, better than AWS.

[–] jlh@lemmy.jlh.name 10 points 1 week ago* (last edited 1 week ago) (4 children)

If your scale is right, both Hetzner and Digital Ocean support the Kubernetes autoscaler.

https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner

https://docs.digitalocean.com/products/kubernetes/how-to/autoscale/

Digital Ocean is super easy for beginners, Hetzner is a bit more technical but like half the cost.

This only outweighs the per-node overhead though if you're scaling up/down entire 4vcpu/8gib nodes and/or running multiple applications that can borrow cpu/ram from each other.

If you're small scale, microVMs like Lambda or fly.io are the only way to go for meaningful scaling under 4vcpu/8gib of daily variation. Also, at that scale, you can ask yourself if you really need autoscaling, since you can get servers that big from Hetzner for like $20/month. Simple static scaling is better at that scale unless you have more dev time than money.

[–] jlh@lemmy.jlh.name 62 points 1 week ago (2 children)

It's very easy to watch in 2024.

https://youtu.be/xwCw1kiVgE0

[–] jlh@lemmy.jlh.name 41 points 1 week ago (2 children)

Taiwan making their position clear to Trump

[–] jlh@lemmy.jlh.name 9 points 1 week ago (1 children)

What is the waiver that Trump is revoking for California climate standards?

[–] jlh@lemmy.jlh.name 6 points 1 week ago

at least they will have no idea what they're doing.

[–] jlh@lemmy.jlh.name 1 points 1 week ago* (last edited 1 week ago) (1 children)

It's not confirmed publicly, but Sweden likely ended their nuclear weapons program in the 60s or 70s after pressure from the US. They finally decommissioned Ågestaverket in 2020, though they kept the facility open until then, presumably as a fallback option. Sweden has uranium deposits, so it would have been possible to build nuclear weapons during the Cold War if needed.

Now with NATO membership, they have instead imported American nuclear weapons to keep on Swedish soil. Not sure what will happen with their Swedish-American SOFA with Trump, it's possible that Sweden will fall back on British and French nukes.

But yeah, I mentioned Ågestaverket, since its an example of a civilian reactor that was used for nuclear weapons, something that Ukraine could potentially do as well if the decision came to proliferate.

view more: ‹ prev next ›