title: Set POD own IP to hostaliases
body: <p>As you know, in k8s, we can set additional entry in /etc/hosts with hostAliases in deployment.yaml like:</p>
  
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
    name: hostaliases-pod
  spec:
    restartPolicy: Never
    hostAliases:
    - ip: "127.0.0.1"
      hostnames:
      - "foo.local"
  </code></pre>
  
  <p>But I want the ip is the POD own IP, then I assign a hostname to the POD. e.g.</p>
  
  <pre><code>  hostAliases:
    - ip: "$POD_IP"
      hostnames:
      - "myname"
  </code></pre>
  
  <p>Is is possible? and how to?</p>