Hello Pulumi, Im looking for a solution to get my ...
# getting-started
q
Hello Pulumi, Im looking for a solution to get my public Ip from Kubernetes ingress ? Something like :
Copy code
let service = Service.get("my-release-nginx-ingress")
let myIp = service.status.loadBalancer.ingress[0].ip
But : the service "my-release-nginx-ingress" was not created by pulumi, it was already here. Any tips for me ?
b
have you tried that? it should work if you set the
Service.get
to the right service name
q
you should give 2 params :
I do not know my pulumi ID because is an external element?
b
It should be namespace/service name