volgorean opened a new pull request #12065:
URL: https://github.com/apache/pulsar/pull/12065
### Motivation
* We are currently unable to scrape metrics from pulsar functions pods on
k8s because the metrics port is not exposed.
### Modifications
* updates `getFunctionContainerPorts` to return both its grpc port as well
as the metric port (currently the function returning the metrics port in its
own list is not being called)
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change added tests and can be verified as follows:
* Deploy pulsar to k8s (or update the image of an existing deployment) w/
functions enabled
* inspect the functions pods to see that they now expose a metrics port
along with their current grpc port
### Documentation
- [x] no-need-doc (minor fix for something that should already be enabled)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]