title: Resolve service name in environment variable in Kubernetes
body: <p>I'm really not sure what is going on and what is problem, when I pass service name in environment variable in YAML file, that service name is still string, it's not being resolved in real ip address. </p>
  
  <p>Does it should work by automatically inside kubernetes, or I need to do some more config in order that service is resolved.</p>
  
  <p>Example like this, new deployment:</p>
  
  <pre><code>env:
     -name: MYSQL-SERVICE
      value: my-service-name-which-should-be-resolved (also deployed on kubernetes as service)
  </code></pre>
  
  <p>thanks a lot for any advice!</p>