Hello :slightly_smiling_face:, I’m doing a migrati...
# kubernetes
b
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
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
great news! Should I can try something to see if that's the reason?