Hello, My Springboot Java application which process many records, is deployed to 3 clusters in Kuberenetes. I am in need to find which cluster is processing which record and store the cluster name in the table against the record. But I am unable to find a way to get the cluster name during runtime using my springboot Java code. I could see ways to find Pod name in runtime but not the cluster name. (Just Pod name doesn’t help me as I have 4 pods in each cluster)
Can Someone please help me out on this? Thank you!