News for hackers. Stuff that matters.
Re:Writing a Kubernetes Operator by EdwardDiego on Thursday March 09, 2023 @03:57PM (#35086603)
I worked on an operator that manages Kafka in K8s. If you want to upgrade the brokers in a Kafka cluster, you generally do a rolling upgrade to ensure availability.

The operator will do this for you, you just update the version of the broker in the CR spec, it notices, and then applies the change.

Likewise, some configuration options can be applied at runtime, some need the broker to be restarted to be applied, the operator knows which are which, and will again manage the process of a rolling restart if needed to apply the change.

You can also define topics and users as custom resources, so have a nice Gitops approach to declaring resources.

Re:Writing a Kubernetes Operator by cagmz on Friday March 10, 2023 @01:18AM (#35091040)
Is there an open source version of this?
Re:Writing a Kubernetes Operator by gunnarmorling on Friday March 10, 2023 @01:50AM (#35091236)
Not the OP, but Strimzi (strimzi.io/) is an open-source operator for running Kafka on Kubernetes.

Disclaimer: In my past job, I've worked at Red Hat, who are sponsoring Strimzi

Re:Writing a Kubernetes Operator by EdwardDiego on Friday March 10, 2023 @07:04PM (#35103182)
Strimzi :)