...

/

Creating an Ingress Resource with Default Backend

Creating an Ingress Resource with Default Backend

In this lesson, we will first define and then create an Ingress resource with default backend.

Non-Matching Requests

In some cases, we might want to define a default backend. We might want to forward requests that do not match any of the Ingress rules.

Let’s take a look at an example.

Press + to interact
curl -I -H "Host: acme.com" \
"http://$IP"

So far, we have two sets of Ingress rules in our cluster. One accepts all requests with the base path /demo. The other forwards all requests coming from the devopstoolkitseries.com domain. The request we just sent ...

Access this course and 1400+ top-rated courses and projects.