ArroyoSystems / arroyo

Distributed stream processing engine in Rust
https://arroyo.dev
Apache License 2.0
3.67k stars 206 forks source link

Deploy pods directly for k8s instead of replica sets and k8s robustness improvements #646

Closed mwylde closed 3 months ago

mwylde commented 3 months ago

This PR changes our strategy for creating resources in kubernetes. Currently we create a replica set for all workers. This is a bit convenient—the RS controller will create all of the pods we need, but it's inflexible. With this change, we now manage the pods directly.

In addition, a few more changes to improve the robustness of our k8s scheduler:

Also ups the default k8s resource requests to something more reasonable for production apps.