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 ().
Create an
IngressClassParams
resource YAML file, for example,sample-single-lb-params.yaml
, as follows:Create an
IngressClass
resource by running the following command:Create an
Ingress
resource YAML file, for example,sample-multiple-ingress.yaml
, as follows:-
$ oc create -f sample-multiple-ingress.yaml