https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

bitter-dentist-28132

01/29/2020, 6:10 PM
is there a way to get a clusterip service's internal ip, or can you only get the ip of a loadbalancer service?
g

gorgeous-egg-16927

01/29/2020, 6:21 PM
That info should be available from
.spec.clusterIP
once the Service is provisioned
b

bitter-dentist-28132

01/29/2020, 6:27 PM
i want to
proxy_pass
to a deployment/service i'm creating, what's the best way to do that? should i be using its hostname and using kube-dns to resolve it, or will pulumi wait until the service has a
clusterIP
if i use the
.spec.clusterIP
somewhere?
g

gorgeous-egg-16927

01/29/2020, 6:30 PM
It should be safe to use once Pulumi marks the Service as ready.
👍 1
3 Views