title: Spring Actuator Change Host
body: <p>I am trying setup Spring Actuator with Spring Boot admin Server. In my local machine work fine, but in openshift cloud I have some problems...</p>
  
  <p><strong>Local</strong>:</p>
  
  <pre><code>d.c.b.a.c.r.ApplicationRegistrator       : Application registered itself as {id=93a4432e, name=orbe, managementUrl=http://localhost:8080/orbe, healthUrl=http://localhost:8080/orbe/status, serviceUrl=http://localhost:8080/orbe, statusInfo={}}}, source=http-api, metadata={}, info={}}
  </code></pre>
  
  <p><strong>Cloud</strong>:</p>
  
  <pre><code>d.c.b.a.c.r.ApplicationRegistrator       : Application registered itself as {id=7068c1d1, name=orbe, managementUrl=http://orbe-api-334-ciunv:8080/orbe, healthUrl=http://orbe-api-334-ciunv:8080/orbe/status, serviceUrl=http://orbe-api-334-ciunv:8080/orbe, statusInfo={status=UNKNOWN, timestamp=1496071160897, details={}}, source=http-api, metadata={}, info={}}
  </code></pre>
  
  <p>In local, application have correct HOST (localhost), but in cloud Openshift (Kubernetes) hostname is the POD name container and is not working (Spring Boot Admin is not detected the app and health check return UNKNOWN.</p>
  
  <p>Please, can someone help me? Thanks!</p>