title: Kubernetes get endpoints
body: <p>I have a set of pods providing nsqlookupd service.
  Now I need each nsqd container to have a list of nsqlookupd servers to connect to (while service will point to different every time) simultaneously. Something similar I get with </p>
  
  <pre><code>kubectl describe service nsqlookupd
  ...
  Endpoints: ....
  </code></pre>
  
  <p>but I want to have it in a variable within my deployment definition or somehow from within nsqd container</p>