https://pulumi.com logo
b

big-potato-91793

11/11/2021, 9:00 PM
Hello 🙂, I’m doing a migration of our internal package for deploying an ingress. Since, ingress spec will be deprecated at the k8s version 1.22. I was doing some testing. I’m always getting that error the first time I run the pulumi deployment.
Copy code
Diagnostics:
  kubernetes:<http://networking.k8s.io/v1:Ingress|networking.k8s.io/v1:Ingress> (ingress-name):
    error: 1 error occurred:
    	* the Kubernetes API server reported that "namespace/ingress-name" failed to fully initialize or become live: Ingress.extensions "ingress-name" is invalid: spec.rules[0].http.paths[0].backend: Invalid value: "": resource or service backend is required
If, i rerun back my pipeline everything pass without any problem. Any idea?
g

gorgeous-egg-16927

11/11/2021, 9:42 PM
Pretty sure you’re running into https://github.com/pulumi/pulumi-kubernetes/issues/1649 We’re working on a fix in https://github.com/pulumi/pulumi-kubernetes/pull/1795 that should be in the next release.
b

big-potato-91793

11/11/2021, 10:27 PM
great news! Should I can try something to see if that's the reason?
4 Views