Writing an Operator from scratch

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • kubebuilder

    Kubebuilder - SDK for building Kubernetes APIs using CRDs

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • kubernetes

    Production-Grade Container Scheduling and Management

  • The CSR cleaner is one of the more straightforward controllers you will find in k8s source.

  • tgik-controller

    Example controller for TGIK talk

  • sample-controller

    Repository for sample controller. Complements sample-apiserver

  • The most low-level approach I have seen is using the client-go package. Both kubebuilder and controller-runtime are based on this package. You can see an official example here: https://github.com/kubernetes/sample-controller/blob/master/docs/controller-client-go.md But even that sample requires some code generation on top of it https://cloud.redhat.com/blog/kubernetes-deep-dive-code-generation-customresources

  • metacontroller

    Writing kubernetes controllers can be simple

  • Codegen is not magic, but if you want to make it simple stupid, supportable and prod-usable I'd go for metacontroller. There's not much magic to it - just common admission/validation webhooks propagated to your controller implementation, alongside the simplest possible reconciliation cycle. We had adopted Knative driven metacontrollers and it's a pretty solid approach.

  • kopf

    Discontinued A Python framework to write Kubernetes operators in just few lines of code. (by zalando-incubator)

  • Zalando's had been archived since 2020, and Nolar's one has some bugs (I mean a lot).They're mostly updating deps and bumping k8s support, instead of fixing actual pending issues - you have to fix anything and everything on your own ...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Golang Design Patterns in Kubernetes Codebase

    7 projects | dev.to | 22 Nov 2021
  • How to create a local Kubernetes cluster with Kind

    1 project | dev.to | 17 Jun 2024
  • A beginners guide to Kubernetes with Docker

    1 project | dev.to | 16 Jun 2024
  • Data Mesh: An Executive Guide to Modern Data Architecture in Manufacturing

    2 projects | dev.to | 6 Jun 2024
  • Deploy Postgres on any Kubernetes using CloudNativePG

    3 projects | dev.to | 6 Jun 2024