title: how marathon determine a service instance is ready to service
body: <p>buddies</p>
  
  <p>I am wondering how marathon get to know a serice instance is ready to service?</p>
  
  <p>Is there any interface to customize the health check during the starting up of a instance?</p>
  
  <p>thanks</p>