Nenad Bogojevic explains how to provision and manage Kafka and ZooKeeper clusters on Kubernetes using the Operator pattern.
Kafka Operator: Managing and Operating Kafka Clusters in Kubernetes [A] - Nenad Bogojevic, Amadeus
In this talk we will demonstrate an approach to management of kafka clusters in kubernetes deployments. We will show how we can provision kafka clusters and configure it using kubernetes concepts and an operator process. The kafka and zookeeper cluster elements will be provisioned using StatefulSet. As these applications benefit from high performance storage, we will also show how we can use node selectors or persistent volume claims to schedule instances on correct hardware. In order for clients to use it, the necessary message topics have to be configured in kafka cluster. We will show how using an operator process, based on kubernetes custom resources or ConfigMaps we can manage this configuration in descriptive manner and ensure consistent configuration across different development and operations stages as well as cluster restarts. Finally we will discuss how all this ties in with service catalog.
About Nenad Bogojevic
Nenad Bogojevic, platform solutions architect at Amadeus, has 20+ years of experience in software development. He has worked on e-commerce applications, natural language processing tools, and high-performance network middleware. In his job, Nenad is an architect who codes, a technical lead and speaker, open source contributor and an evangelist for application platforms, online and web technologies. Currently, he is driving design of new kubernetes based platform for new data driven services. In his spare time he travels, manages small home clusters or builds and programs robots with his daughters.
Join us for KubeCon + CloudNativeCon in Barcelona May 20 - 23, Shanghai June 24 - 26, and San Diego November 18 - 21! Learn more at kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.
Why it's here
2 people recommend this
What people say. Recommended as a helpful resource for understanding how to run stateful Kafka workloads on Kubernetes using operators.
v
u/victory_for_upfishin r/kubernetes • Recommends
On “Is it a good way to run Kafka on Kubernetes?”
It's certainly possible - here's a talk from kubecon this year talking about a kafka operator: link to this video I don't have experience with running kafka in particular so can't speak to that.
…ful apps and also on using elasticsearch operator - there is also ready to use kafka operator for k8s. But you need to understand operators first. Check those posts:
- https://akomljen.com/stateful-applications-kubernetes/
- https://akomljen.com/kubernetes-elasticsearch-operator/
Also here is a good presentation on running Kafka in prod on k8s link to this video…