gentle-tomato-480
04/09/2024, 10:24 AMflyte-binary
deployment on GKE. As mentioned here, it's not providing a port + metrics/a servicemonitor out of the box like with flyte-core
, so as per instruction I've added a port and a podMonitoring
(using GKE's managed prom service) . Don't seem to be getting any metrics yet. When looking at flyte-core
I see that there are two service monitors configured, 1 for admin and one for propeller. Wondering if adding just 1 port would be enough to handle both in this case and if the ports/paths are differentaverage-finland-92144
04/09/2024, 5:11 PMWondering if adding just 1 port would be enough to handle both in this case and if the ports/paths are differentAgree, I don't think that's enough. The SM would be very beneficial as they are for flyte-core. I'm not even sure if
flyte-binary
is completely instrumented to surface all metrics. Could you file an issue for this?gentle-tomato-480
04/09/2024, 5:27 PMaverage-finland-92144
04/09/2024, 5:27 PMgentle-tomato-480
04/09/2024, 5:28 PMaverage-finland-92144
04/09/2024, 5:29 PMgentle-tomato-480
04/09/2024, 5:29 PMgentle-tomato-480
04/09/2024, 5:33 PMgentle-tomato-480
04/09/2024, 5:43 PMaverage-finland-92144
04/09/2024, 6:11 PMaverage-finland-92144
04/09/2024, 6:12 PMprometheus-operator
, are you also using it in your cluster?gentle-tomato-480
04/10/2024, 8:01 AMgentle-tomato-480
04/10/2024, 8:03 AMgentle-tomato-480
04/10/2024, 8:52 AM(in a core.yaml)
propeller:
metrics-prefix: flyte
prof-port: 10254
(in a server.yaml)
adminServer:
flyteadmin:
metricsScope: flyte
profilerPort: 10254
(in a server.yaml)
scheduler:
metricsScope: flyte
profilerPort: 10254
Could I just add these under configuration.inline
in the values file? Does it matter that these are not in some section called core.yaml or server.yaml respectively?gentle-tomato-480
04/10/2024, 8:57 AMcluster_resources.yaml
in the generated example for gcp on github
is defined in inline-config.yaml
in my cluster 🤔average-finland-92144
04/10/2024, 5:36 PMDoes it matter that these are not in some section called core.yaml or server.yaml respectively?I don't think so. Those are templates that seem to feed the configmaps used by flyteadmin and flytpropeller. Sometimes that complicates things when you need to insert keys from other sections to those templates, but that's not the case with flyte-binary. As long as you keep the sections consistent with the ones defined here, for example, for flyteadmin, you should be able to fold everything inside
inline
gentle-tomato-480
04/10/2024, 9:17 PMaverage-finland-92144
04/10/2024, 9:20 PMgentle-tomato-480
04/10/2024, 9:20 PM