Creating multiple ingresses

    You can route the traffic to multiple Ingresses through a single AWS Load Balancer (ALB) by using the CLI.

    Prerequisites

    • You have an access to the OpenShift CLI ().
    1. Create an IngressClassParams resource YAML file, for example, sample-single-lb-params.yaml, as follows:

    2. Create an IngressClass resource by running the following command:

      1. Create an Ingress resource YAML file, for example, sample-multiple-ingress.yaml, as follows:

        1. $ oc create -f sample-multiple-ingress.yaml