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

miniature-rose-15269

06/04/2020, 8:11 PM
not sure if this is the correct channel vs gcp but with the Istio addon on GKE, how can I get the external IP of the ingress gateway? It’s automatically created by GCP so I don’t have the resource in Pulumi to be able to output the load balancer IP. Any ideas?
For anyone interested:
Copy code
const ingress = k8s.core.v1.Service.get(
	'ingress',
	'istio-system/istio-ingressgateway',
	{ provider: k8sProvider }
)
const ip = ingress.status.loadBalancer.ingress[0].ip
👍🏻 1
4 Views