this post was submitted on 12 Feb 2024
262 points (99.2% liked)

Selfhosted

40749 readers
435 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'd expected this but it still sucks.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 10 months ago* (last edited 10 months ago) (1 children)

Lxd is slow and doesn't support HA

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

LXD uses QEMU/KVM/libvirt for VMs thus the performance is at least the same as any other QEMU solution like Proxmox, the real difference is that LXD has a much smaller footprint, doesn’t depend on 400+ daemons thus boots and runs management operations much faster. The virtualization tech is the same and the virtualization performance is the same.

Here's one of my older LXD nodes running HA:

It's "so hard" to run HA under LXD... you just have to download the official HA OS image and import to LXD.

[–] [email protected] 1 points 10 months ago (1 children)

Sorry I meant high availability as in the ability to live transfer a VM to a different host without downtime or service interruptions.

I hear that I lot of people are using LXC. Are you using a container runtime in the LXC container? (i.e. docker or podman)

[–] [email protected] 1 points 10 months ago

Sorry I meant high availability as in the ability to live transfer a VM to a different host without downtime or service interruptions.

Oh, my bad then. But yes, like Proxmox, LXD/Incus can do live migrations of VMs since 4.20 (2021 I believe). Live migration of containers can be done under specific circunstantes as well.

Are you using a container runtime in the LXC container? (i.e. docker or podman)

In some of them yes. At least under Debian as long as you've set security.nesting=true it will work fine.