Thanks for you interest in Maesh
You're right! In
IngressRoute resources, you have to reference services by
namespace, not by DNS name.
Under the hood, Maesh uses Kubernetes services called
shadow services which allow to forward a request through mesh proxies to your service pods when the meshed DNS name is requested.
If you want to forward an
Ingress request to the meshed service you have to reference the
shadow services in the
IngressRoute. These services are created in the namespace where Maesh was installed in and have the following name
Please keep in mind that we're planning to work on that subject and as it's not part of our public API it is subject to change between Maesh versions.
If I'm not wrong, in
ServiceMonitor you have to use labels to indicate which pods would be scrapped by Prometheus. So, here nothing special to do as you probably want to monitor your service pods and not the
Hope this helps!