---
title: "Rerouting the Stream: How Lyft Moved to the Apache Flink Kubernetes Operator"
description: "Lyft retired its homegrown Flink Kubernetes operator and moved hundreds of streaming jobs to the open-source Apache Flink Kubernetes Operator."
url: "https://swe.quest/articles/rerouting-the-stream-how-lyft-moved-to-the-apache-flink-kubernetes-operator-54f95160e73c8a70"
canonical: "https://eng.lyft.com/rerouting-the-stream-how-lyft-moved-to-the-apache-flink-operator-36f20246d250"
source: "Lyft Engineering"
published: "2026-08-31"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["stream-processing","kubernetes","deployment","capacity-planning","cost-optimization"]
---

# Rerouting the Stream: How Lyft Moved to the Apache Flink Kubernetes Operator

A post on [Lyft Engineering](https://swe.quest/sources/lyft.md), published 2026-08-31, 12 min read, Case study. Original: [https://eng.lyft.com/rerouting-the-stream-how-lyft-moved-to-the-apache-flink-operator-36f20246d250](https://eng.lyft.com/rerouting-the-stream-how-lyft-moved-to-the-apache-flink-operator-36f20246d250)

## Summary

Lyft retired its homegrown Flink Kubernetes operator and moved hundreds of streaming jobs to the open-source Apache Flink Kubernetes Operator. To avoid rewriting every config, a translation layer in the deploy API converts the legacy FlinkApplication CRD into a FlinkDeployment, and dynamic config allows per-app migration and instant rollback. Getting the full benefit took follow-on work. Deploys caused 3–20 minutes of downtime until FlinkBlueGreenDeployments was adopted. Upgrading to Flink 1.19 enabled in-place autoscaling and Kinesis backlog metrics. Autotuning reclaimed memory that Beam Python harnesses had been hiding in JVM overhead, which OOM-killed TaskManagers until the harness moved to a sidecar. Because autotuning requires restarts, critical jobs use in-place autoscaling only, while other jobs use both features. Variable pod sizes then pushed Lyft to Karpenter and most-allocated scheduling to cut unused spend.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Stream processing](https://swe.quest/tags/stream-processing.md) (Data & databases)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- Apache Flink savepoints and checkpoints ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))
- Kubernetes operators and CRDs ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- stream processing basics ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))

## Keywords

Apache Flink, Flink Kubernetes Operator, FlinkBlueGreenDeployments, Apache Beam, Karpenter, Kinesis, Jsonnet, Amazon EKS

## Related posts

- [From Homegrown to Flink: Migrating a Stateful Ad Event Join at Scale](https://swe.quest/articles/from-homegrown-to-flink-migrating-a-stateful-ad-event-join-at-scale-34697efa4030f6e1.md): Zalando Engineering · 2026-07-23 · Hard · 12 min read · Stream processing, Storage engines, Performance engineering, Kubernetes, Ads
  Zalando's Ad Platform team replaced a 7-year-old homegrown Java service that joins ad auction (bid) events with user interaction events within a 15-minute window with an Apache Flink pipeline using RocksDB state and incremental checkpoints.
- [7 Tips For Optimizing Apache Flink Applications](https://swe.quest/articles/7-tips-for-optimizing-apache-flink-applications-be2dbc2fd7e74cd5.md): Shopify Engineering · 2022-03-08 · Medium · 14 min read · Stream processing, Performance engineering, Java & JVM, Debugging
  Lessons from running large stateful Apache Flink jobs (up to 13 TB of state) on GKE with the RocksDB state backend and checkpoints on GCS.
- [3 (More) Tips for Optimizing Apache Flink Applications](https://swe.quest/articles/3-more-tips-for-optimizing-apache-flink-applications-9c796b6721a565fb.md): Shopify Engineering · 2022-12-13 · Medium · 7 min read · Stream processing, Performance engineering, Queues & messaging
  Three practices for tuning large stateful Apache Flink jobs, drawn from Shopify's streaming platform.
- [Scaling Shopify's BFCM Live Map: An Apache Flink Redesign](https://swe.quest/articles/scaling-shopify-s-bfcm-live-map-an-apache-flink-redesign-bcbe156fa7990bd0.md): Shopify Engineering · 2021-12-10 · Medium · 9 min read · Stream processing, Scaling, System design, Real-time systems
  Shopify scaled its Black Friday/Cyber Monday live sales map by putting Apache Flink in front of Cricket, its home-grown Go stateful streaming service.
- [Achieving relentless Kafka reliability at scale with the Streaming Platform](https://swe.quest/articles/achieving-relentless-kafka-reliability-at-scale-with-the-streaming-platform-ccf96914fd7cb7a9.md): Datadog Engineering · 2025-02-19 · Medium · 10 min read · Queues & messaging, Resilience, Distributed systems, Scaling, Rust
  Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
