3 ms·
I've replaced kubernetes / docker with LXD to host https://www.codemy.net/posts https://www.codemy.net/posts and various other services. All I have to say is ov
by artellectual 8y ago
I've replaced kubernetes / docker with LXD to host https://www.codemy.net/posts https://www.codemy.net/posts and various other services. All I have to say is overall much less moving parts, much lower management cost (uses less time) and much more efficient workflow. For me using LXD has been a dream. Congrats to the team.
I plan on releasing some of the work I've been doing on LXD soon, hopefully it will push lxd into the spotlight over kubernetes and docker.
- gtirloni 8y agoHow many servers are you using to host that?
- artellectual 8y agoTL;DR 5 but I could be using 1 I have 5 machine in a cluster right now running various services, it is definitely over provisioned, I'm barely using the machine's resources. I could technically host the whole thing on one server, but given what I'm building, I wanted to test out how my solution scales in a clustered setup. It's got an elixir backend, so the elixir apps are also clustered sharing data using LXDs fan networking. All the services get deployed / updated into the cluster via an automated CI / CD
- Uberphallus 8y agoHow is orchestration done with LXD instead of Kubernetes?
- cyphar 8y agoLXD supports orchestration since 3.0. It's actually quite neat -- you can do live-migration between different hosts. The design is very much "fediverse" where you start containers on different hosts (so it doesn't quite fit the Kubernetes "purge and rebuild" orchestration model).
- artellectual 8y agoI'm using terraform (it has an LXD plugin) to handle the orchestration in the CI / CD server. So basically. I push code terraform detects if container running service exists, if not it creates the containers, if it does it will upgrade the service in the existing containers without destroying, so my deploys are super fast. I will have a more detailed video series coming out soon on the site I mentioned above.