title: Accessing kubernetes pod end point from jenkins
body: <p>I am facing with the following query.</p>
  
  <p>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. </p>
  
  <p>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.</p>
  
  <p>Is it possible that:</p>
  
  <p>1) I use the kubernetes CRD for this purpose. If yes, what is the approach
  2) A recommendation exists for this use case.</p>
  
  <p>Thanks </p>