https://pulumi.com logo
Title
q

quaint-electrician-41503

10/11/2021, 8:09 AM
My first troubleshooting step regarding your ingress problem would be to query the k8s api or cli to see if / what / any ingress configurations have been
d

dry-sugar-63293

10/11/2021, 8:14 AM
Thanks @quaint-electrician-41503. I am fairly new to k8s as well. If you could give me some pointers on what exactly to look for and where, I would appreciate it. BTW I was able to do this configuration manually from the Google Cloud UI and it works. I want to automate this using Pulumi.
q

quaint-electrician-41503

10/11/2021, 8:14 AM
Try to list all ingress configurations. Then I think to complete ingress might be two parts, the ingress configuration and an ingress controller, which is an application deployed sometimes nginx. Sorry I don't know terribly much more. But perhaps if you have ingresses deployed but pulumi hasn't recognized them maybe delete the stack and remove the ingress manually from k8s and try again
d

dry-sugar-63293

10/11/2021, 8:19 AM
I dont think it is a problem of Pulumi not recognizing the ingress deployment. I can see in Google console as well that ingress is stuck in creating state. I will take a look at our SO link as well and get back
q

quaint-electrician-41503

10/11/2021, 8:24 AM
If it's stuck in the google console perhaps it's a google issue. Also more details regarding the ingress / controller relationship https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
d

dry-sugar-63293

10/11/2021, 8:27 AM
It is not a google issue. Because from the console I am able to create it successfully. Only through Pulumi it fails. I just need someone to take a look at the code snippet I posted and point out where I am going wrong. Even better, if there is a working example, that would be an amazing start
Seems like a good reference on ingress controllers. I will take a look and comment back. thanks!
q

quaint-electrician-41503

10/11/2021, 8:34 AM
Sorry I don't have any more insight regarding your issue. If you do resolve the issue feel free to let us know here.
d

dry-sugar-63293

10/11/2021, 1:18 PM
@quaint-electrician-41503 please see the replies in my original question. Found the solution to this.