Kafka on Kubernetes
- 1. @gamussa | #ImCloudNative | @ConfluentINc
Kafka on Kubernetes:
Does it really have to be
«The Hard Way»?
June, 2019 / Montreal, CA, 2019
@gamussa | #ImCloudNative | @ConfluentINc
- 8. @gamussa | #ImCloudNative | @ConfluentINc
8
New World
Streaming first
• DB/DWH + Many more
distributed data systems
• Monolith -> Microservices
• Batch -> Real-time
- 12. @gamussa | #ImCloudNative | @ConfluentINc
12
Who run stateless
workloads in Kubernetes?
Who thinks it’s a good
idea?
Who run stateful
workloads in Kubernetes?
Who thinks it’s a good
idea?
🙋
- 14. @gamussa | #ImCloudNative | @ConfluentINc
14
Well, it’s tricky ©
Translating an existing architecture to Kubernetes
External access to brokers and other components
Persistent Storage options on prem and clouds
Security Configuration and Upgrades
#devkafkaops
- 22. @gamussa | #ImCloudNative | @ConfluentINc
22
Rolling Upgrade
Kafka Broker Upgrades:
1. Stop the broker, upgrade
Kafka
2. Wait for Partition Leader
reassignment
3. Start the upgraded
broker
4. Wait for zero under-
replicated partitions
5. Upgrade the next broker
- 27. @gamussa | #ImCloudNative | @ConfluentINc
27
Rider Driver
2 Web Apps powered by a
microservice each
Apps are a ride sharing driver and
rider location tracking
Rider hails a ride and the driver
drives towards the rider
Real time location events powered
by Kafka on Kubernetes
KLyfft - Kafka app on Kubernetes
- 30. @gamussa | #ImCloudNative | @ConfluentINc
30
Confluent Operator - Automated
Security Configuration
SASL PLAIN and Mutual TLS Authentication
Automate configuration of truststores and
keystores with secret objects
Automate configuration of Kafka and all
Confluent Platform Components
- 32. @gamussa | #ImCloudNative | @ConfluentINc
32
Rolling Upgrade
Kafka Broker Upgrades:
1. Stop the broker, upgrade
Kafka
2. Wait for Partition Leader
reassignment
3. Start the upgraded
broker
4. Wait for zero under-
replicated partitions
5. Upgrade the next broker
- 35. @gamussa | #ImCloudNative | @ConfluentINc
35
GA Plans● We are in private Preview
Release is over!
● 24 customers testing the
Operator in Preview:
● Global customers
● Banks, Fin Tech,
Retailers, Consumer Tech
● We are in the final stages
of Preview and about to
launch soon
- 36. @@gamussa | #ImCloudNative | @ConfluentINc
Thanks!
@gamussa
viktor@confluent.io
https://slackpass.io/confluentcommunity
#kubernetes