mruoss

mruoss

Kompost - A Kubernetes Operator written in Elixir

TL;DR

I’ve build Kompost, a Kubernetes Operator written in Elixir. Kompost is meant to be a “fertiliser” for development teams running their services/application in Kubernetes. It gives them the ability to manage certain infrastructure resources through their Kubernetes Cluster. Combine Kompost with ArgoCD or similar to manage databases and hopefully soon other resources, too, in a GitOps manner.

Kompost

In the past year, I’ve spent quite some time maintaining and refactoring Cory O’Dainel’s libraries k8s (Kubernetes Client) and Bonny (Kubernetes Operator SDK). Now it was time to eat some of that dog food and create my own Kubernetes operator with Bonny.

Kompost is built as a set of components (Kompos). At this moment there are only two components: Postgres and Temporal whereas Temporal is in very beta state, so let’s talk about Postgres. The Postgres Kompo lets you manage (create) databases on an existing Postgres server by applying the right custom resources to it.

Some time into development I found out db-operator does the same as my Postgres Kompo already. I’ve started using db-operator and lost motivation to work on Kompost for some time. But then I found some things I would have done differently and it gave me back motivation to work in Kompost and bring it to a usable state (add some more features to the Postgres Kompo, Create some nice documentation, create a Helm chart, etc.)

So if you’re working with Kubernetes, give it a spin, I’d love to hear from your experience.

Links

PS: I guess there’s only a category for libraries and none for projects in this forum, right? So I’ve put this under “Chat/Discussions”…

Where Next?

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2976 91332 914
New
f0rest8
Hi everyone :waving_hand: Posting here to showcase and announce that Metamorphic is now officially live on a public-facing domain at htt...
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
AstonJ
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
zachdaniel
Introducing AshStorage! Attachment and file management that slots directly into your resources :smiling_face_with_sunglasses: I had hope...
New

We're in Beta

About us Mission Statement