Google Kubernetes Engine: Failed to create an ingress error

1/10/2022

I tried to create an ingress with hello world app here: https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/main/hello-app. But I received an error: Failed to create an ingress. Ingress.extensions "hello-world-ingress" is invalid: spec: Invalid value: []networking.IngressRule(nil): either defaultBackend or rules must be specified". GKE Failed to create an ingress screenshot

But last two weeks, I can create an ingress with this app and It worked perfectly.

-- Khuyen Nguyen
google-kubernetes-engine
kubernetes
kubernetes-ingress

0 Answers