Re: Flink PrometheusReporter support for HTTPS

2021-06-16 Thread Austin Cawley-Edwards
Hi Ashutosh, Sorry for the delayed response + thanks Robert for the good links and idea. Alternatively, Flink on K8s is a perfect scenario for running a sidecar proxy or gateway that handles HTTPS connections. The advantage here is that you decouple managing SSL certifications + rotation from you

Re: Flink PrometheusReporter support for HTTPS

2021-06-16 Thread Robert Metzger
It seems like the PrometheusReporter doesn't support HTTPS. The Flink reporter seems to be based on the HttpServer prometheus client. I wonder if using the servlet client would allow us to add HTTPS support: https://github.com/prometheus/client_java/blob/master/simpleclient_servlet/src/main/java/i

Re: Flink PrometheusReporter support for HTTPS

2021-06-13 Thread Ashutosh Uttam
Hi Austin, I am deploying Flink on K8s with multiple Job Manager pods (For HA) & Task Manager pods. Each JobManager & Task Manager are running an PrometheusReporter instance and using Prometheus’ service discovery support for Kubernetes to discover all pods (Job Manager & Task Manager) and expos

Re: Flink PrometheusReporter support for HTTPS

2021-06-12 Thread Austin Cawley-Edwards
Hi Ashutosh, How are you deploying your Flink apps? Would running a reverse proxy like Nginx or Envoy that handles the HTTPS connection work for you? Best, Austin On Sat, Jun 12, 2021 at 1:11 PM Ashutosh Uttam wrote: > Hi All, > > Does PrometheusReporter provide support for HTTPS?. I couldn't

Flink PrometheusReporter support for HTTPS

2021-06-12 Thread Ashutosh Uttam
Hi All, Does PrometheusReporter provide support for HTTPS?. I couldn't find any information in flink documentation. Is there any way we can achieve the same? Thanks & Regards, Ashutosh