Hi all, I am trying to get the node host ip (where...
# ask-for-help
n
Hi all, I am trying to get the node host ip (where the dd agent is deployed) to initialize datadog in the bento service so we can use ddtrace. I tried by adding this in the bentodeployment yaml:
Copy code
envs:
    - name: DD_AGENT_HOST
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.hostIP
But this doesn't seem to work. We have other pods running on kubernetes and this works with those pods. Any idea why this doesn't work with bento pods and if there is a way to get the node IP from within the bento service?
PS we are using yatai for deployment.