I am facing with the following query.
My Jenkins is outside the kubernetes cluster in a separate network as it is a common build tool for building application and infrastructure. I am deploying a containerised application in kubernetes ( which is in a completely different network than Jenkins) as a pod. My application is a spring boot application and has actuator enabled to check the overall health of the container.
I do not want to expose any load balancer IPs or DNS to the public for individual services to refer to the pods, yet, I want to be able query the actuator in spring boot to check whether health is UP.
Is it possible that:
1) I use the kubernetes CRD for this purpose. If yes, what is the approach 2) A recommendation exists for this use case.
Thanks