News for hackers. Stuff that matters.
Re:Are Immutable Linux Distros right for you? by bigstrat2003 on Wednesday December 25, 2024 @11:32PM (#42513124)
> Immutable distros are becoming a de-facto standard for server deployments

What? No they're not. I literally have never once in my career seen a server deployed with an immutable distro.

Re:Are Immutable Linux Distros right for you? by SR2Z on Wednesday December 25, 2024 @11:39PM (#42513149)
That's probably because they are practically most used for the underlying OS of a Kubernetes host (seeing as how it is difficult by definition to configure an immutable install).

If you really think about it, what's the difference between spinning up a VM with a preconfigured image and spinning up a VM with an _immutable_ preconfigured image?

Re:Are Immutable Linux Distros right for you? by ilbeeper on Thursday December 26, 2024 @04:22AM (#42514104)
The difference is that one is immutable and the other is not. One can be rolled back to earlier version while retaining user data and the other doesn't offer that ability.
Re:Are Immutable Linux Distros right for you? by SR2Z on Thursday December 26, 2024 @12:10PM (#42516332)
Sure, but the GKE autoscaler will happily erase and recreate machines whenever it wants.

Divergences from the base image are inherently limited because of that.

Re:Are Immutable Linux Distros right for you? by ilbeeper on Thursday December 26, 2024 @05:57PM (#42518514)
Despite the name, that's not what immutable distros are for. GKE won't let yet restore previous generation of configured and component versioned base image.
Re:Are Immutable Linux Distros right for you? by ghshephard on Thursday December 26, 2024 @01:51AM (#42513559)
Plus 1 on this - I've probably had direct responsibility for managing fleets of roughly 50,000 linux hosts - never seen an immutable distro. We usually just burn a fresh image of whatever mainline ubuntu is offering every week or two into the fleet. Saying that containers are becoming a defacto standard is reasonable though - pretty much every company I've worked with and my coworkers have worked with have shifted everything into containers (at least in companies with x00k microservice instances running on ~100k machine environments).
Re:Are Immutable Linux Distros right for you? by fsckboy on Friday December 27, 2024 @01:02AM (#42520237)
>I've probably had direct responsibility for managing fleets of roughly 50,000 linux hosts - never seen an immutable distro.

plus, given your wealth of experience, I'm more interested in what linux you run on your personal laptop

Re:Are Immutable Linux Distros right for you? by ghshephard on Sunday December 29, 2024 @04:28PM (#42543358)
WSL2 + Ubuntu. It's either MacOS or Windows in BigCorp with all the Okta/Crowdstrike/... stuff they require - and I like the apt-get convenience.

Most of my time is in Tmux anyways. Over the last 15 years the client side has been one of MacOS, ArchLinux, Ubuntu, and now Windows/WSL2.

The real activity has shifted up to the orchestration and service discovery layers - nomad, k8s, consul, and whatever fleetmanagement/cluster management layers maintains the hosts (a lot of homebuilt + terraform + chef/argo-workflow in our world). It's been years since I was really that concerned about the linux host side of things - why care about "immutable" when the entire machine/image is ephemeral for < 1 week (or in some cases, <1 day) anyways?