ArroyoSystems / arroyo

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

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

Closed mwylde closed 5 months ago

mwylde commented 5 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.