One more question guys, ‘Default-backend’ service is not defined within the ingress resource but the lecture says that it is required, is it defined somewhere else? Ingress controller, perhaps?
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.
Thanks a bunch @Mohamed Ayman! If we are asked to configure paths within an ingress resource, do we need to worry about configuring the default backend service or is it always handled by the ingress controller?
I believe there is an option within an ingress resource as well to define the default backend svc, I believe it’s configured here ingress.spec.defaultBackend