The Ingress documentation states that:
An Ingress with no rules sends all traffic to a single default backend. The default backend is typically a configuration option of the Ingress controller and is not specified in your Ingress resources.
If none of the hosts or paths match the HTTP request in the Ingress objects, the traffic is routed to your default backend.
All GKE Ingress objects I manage point to a specific backend like:
spec:
rules:
- host: my.host.com
http:
paths:
- path: /*
backend:
serviceName: the service
servicePort: 1337
Is there anyway to create these Ingress objects without the default backend? If so, what are the consequences of this?