Hi Yarden! You have different possibilities: - Use a podTemplate for your FlinkDeployments - Extend and build a custom operator version with your specific requirements - Use a mutating webhook to automatically create a podTemplate for every FlinkDeployment
Cheers, Gyula On Sun, Dec 22, 2024 at 2:34 PM Yarden BenMoshe <yarde...@gmail.com> wrote: > Hi all, > > I am currently using Flink via Kubernetes Operator and looking to connect > my Flink pipeline to Prometheus for metrics. To do so, I thought of > creating a headless service and exposing a specific port (for example 9249, > Flink's default). > > I wish to automate the creation of the service to be created when a > FlinkDeployment is created, but I believe that should be done on operator > level (As I imagine the service being tightly related to the > FlinkDeployment) > Is this approach considered a known/common practice? If so, is there > already support for such functionality, or is it something planned for a > future release? > > Many thanks, > Yarden >