https://pulumi.com logo
#general
Title
# general
h

hundreds-portugal-17080

09/08/2019, 11:22 PM
c

cool-egg-852

09/09/2019, 12:20 AM
So you’re trying to get the IP of the node the pod is running on, not the pod ip?
If you want the pod IP, you can do stuff like:
Copy code
name: MY_POD_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
h

hundreds-portugal-17080

09/09/2019, 12:23 AM
I need the node ip
c

cool-egg-852

09/09/2019, 12:23 AM
So you’re trying to talk to the daemonset, any reason you can’t use DNS via a Service?
h

hundreds-portugal-17080

09/09/2019, 1:06 AM
thanks. I created a service (clusterIP) . can you tell me how to get the IP address of the clusterip in pulumi code