Hi Alexey, I don't see any issue in using stateful sets immediately.
I'd recommend using one of the K8s operators or Ververica's community edition [1] though if you start with a new setup as they may solve even more issues that you might experience in the future. [1] https://www.ververica.com/getting-started On Mon, Aug 10, 2020 at 11:22 PM Alexey Trenikhun <yen...@msn.com> wrote: > Hello, > Flink documentation suggests to use Deployments to deploy JM and TM for > kubernetes job cluster. Is any known potential issues with using > StatefulSets instead, seems StatefullSet provides uniqueness for JM during > upgrade/rollback, while with Deployments could be multiple JM pods (e.g.1 > terminating and 1 running) > > Thanks, > Alexey > -- Arvid Heise | Senior Java Developer <https://www.ververica.com/> Follow us @VervericaData -- Join Flink Forward <https://flink-forward.org/> - The Apache Flink Conference Stream Processing | Event Driven | Real Time -- Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany -- Ververica GmbH Registered at Amtsgericht Charlottenburg: HRB 158244 B Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji (Toni) Cheng