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

thankful-artist-95425

11/15/2018, 5:33 PM
I’m having trouble with pulumi advancing past k8s ingress creation, the ingress is created and the url works fine but pulumi times out polling for the resource.
g

gorgeous-egg-16927

11/15/2018, 5:44 PM
Hmm, I just wrote a program this morning using Ingress, and didn't see problems like that. Can you provide more details on what's failing?
t

thankful-artist-95425

11/15/2018, 5:46 PM
The output from pulumi was:
Plan apply failed: Timeout occurred polling for 'yii-app-ingress-ld9v9b0p'
g

gorgeous-egg-16927

11/15/2018, 5:47 PM
Did the Ingress resource get created on your k8s cluster?
t

thankful-artist-95425

11/15/2018, 5:47 PM
The create command was:
Copy code
+ kubernetes:extensions/v1beta1:Ingress: (create)
            [urn=urn:pulumi:pulumi.development::***::***:App$kubernetes:extensions/v1beta1:Ingress::yii-app-ingress]
            apiVersion: "extensions/v1beta1"
            kind      : "Ingress"
            metadata  : {
                annotations: {
                    <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: "traefik"
                    <http://pulumi.com/autonamed|pulumi.com/autonamed>       : "true"
                }
                labels     : {
                    app: "yii-app"
                }
                name       : "yii-app-ingress-ld9v9b0p"
                namespace  : "pulumi-development-v0sxv5nu"
            }
            spec      : {
                rules: [
                    [0]: {
                        host: "pulumi.development.***.***"
                        http: {
                            paths: [
                                [0]: {
                                    backend: {
                                        serviceName: "yii-app-gqoxppqs"
                                        servicePort: "http"
                                    }
                                    path   : "/"
                                }
                            ]
                        }
                    }
                ]
            }
Yes it did I’m able to pull up the URL and browse around the deployed app no problem
Just double checked to make sure that’s the only ingress with the host name
g

gorgeous-egg-16927

11/15/2018, 5:51 PM
Can you try running
pulumi refresh
and see if that fixes it?
t

thankful-artist-95425

11/15/2018, 5:54 PM
Looks like it thinks the resource has not been created and is now making a duplicate copy of the ingress
That’s post refresh
g

gorgeous-egg-16927

11/15/2018, 5:56 PM
Hmm, sounds like a bug. Can you open a issue with details on https://github.com/pulumi/pulumi-kubernetes/issues
t

thankful-artist-95425

11/15/2018, 5:58 PM
Sure thing
👍 1
5 Views