title: Kubernetes readiness probe missing host when describing pod
body: <p>I have the following readiness probe specified for one of my containers:</p>
  <pre><code>        readinessProbe:
            httpGet:
              port: 3000
              path: /healthz
            initialDelaySeconds: 30
  </code></pre>
  <p>When I describe the pod with this readiness probe I see the following output:</p>
  <pre><code>    Readiness:      http-get http://:3000/healthz delay=30s timeout=1s period=10s #success=1 #failure=3
  </code></pre>
  <p>It seems that the path, port and other attributes are being correctly set. What seems unusual is that the IP address of the node is missing - <code>http://:3000/healthz</code> doesn't seem well formed. The <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes" rel="nofollow noreferrer">kubernetes docs</a> say:</p>
  <blockquote>
  <p>For an HTTP probe, the kubelet sends an HTTP request to the specified path and port to perform the check. The kubelet sends the probe to the pod's IP address, unless the address is overridden by the optional host field in httpGet</p>
  </blockquote>
  <p>Is it expected that when describing the pod the readiness probe is missing an IP address? If not, how do I fix this correctly?</p>
  <p>Note, that in addition to this, I'm seeing many many warnings when looking at the events of the pod:</p>
  <pre><code>Events:
    Type     Reason        Age                 From               Message
    ----     ------        ----                ----               -------
    Normal   Scheduled     11m                 default-scheduler  Successfully assigned default/tripvector-79889c5d7d-jbxc9 to gke-tripvector2-default-pool-78cf58d9-5dgs
    Normal   Pulling       11m                 kubelet            Pulling image &quot;us-west1-docker.pkg.dev/triptastic-1542412229773/tripvector/tripvector:healthz2&quot;
    Normal   Pulled        10m                 kubelet            Successfully pulled image &quot;us-west1-docker.pkg.dev/triptastic-1542412229773/tripvector/tripvector:healthz2&quot; in 36.420607332s
    Normal   Created       10m                 kubelet            Created container tripvector
    Normal   Started       10m                 kubelet            Started container tripvector
    Warning  ProbeWarning  77s (x55 over 10m)  kubelet            Readiness probe warning:
  </code></pre>
  <p>Might these warnings be related to the IP issue above?</p>
  <p>Here's the version of kubernetes I'm using:</p>
  <pre><code> ❯❯❯ k version
  Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20+&quot;, GitVersion:&quot;v1.20.4-dirty&quot;, GitCommit:&quot;e87da0bd6e03ec3fea7933c4b5263d151aafd07c&quot;, GitTreeState:&quot;dirty&quot;, BuildDate:&quot;2021-03-15T10:03:32Z&quot;, GoVersion:&quot;go1.16.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;}
  Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;21&quot;, GitVersion:&quot;v1.21.9-gke.1002&quot;, GitCommit:&quot;f87f9d952767b966e72a4bd75afea25dea187bbf&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2022-02-25T18:12:32Z&quot;, GoVersion:&quot;go1.16.12b7&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  </code></pre>