Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add metric port to pods and service (#1199)
This allows the usage of Prometheus PodMonitors and/or ServiceMonitors to configure scraping of metrics. This is often preferred over the annotations on the pods. This is also more inline with the rest of Knative. - Add metric port definition to both gateway pods and controller pods. - Add metric port to controller service NOTE: Did not add metric port to gateway services as those often are exposed and exposing the metrics via those services is probably not desired in most cases.
- Loading branch information