So I have 3 clusters of Kubernetes. In one of them, I have deployed Prometheus (and some other apps which I am monitoring). But I also want to monitor Applications (spring boot) that are in other clusters, at the pod level.
I have looked into different solutions like using the hierarchial-federation deployment for Prometheus but that really looks a bit messy. Many have suggested Service Discovery, but there are no resources for the same to monitor outside the cluster.
I am still a beginner in K8, so can you guys suggest to me how to do Pod level monitoring in Prometheus for applications that are deployed in a different Kubernetes cluster?