oracle / oci-native-ingress-controller

OCI Native Ingress Controller
https://blogs.oracle.com/cloud-infrastructure/post/oracle-cloud-native-ingress-controller-kubernetes
Universal Permissive License v1.0
17 stars 19 forks source link

Load balancer grouping by annotation #71

Closed galovics closed 3 weeks ago

galovics commented 1 month ago

The aws-load-balancer-controller supports an AWS specific annotation called alb.ingress.kubernetes.io/group.name that handles groups together multiple Ingress/Service resources into a single Load Balancer.

A similar annotation would be super useful for the oci-native-ingress-controller so that we don't need to take care of priorly creating the necessary load balancers and specifying the OCID of each one of them.

Docs for AWS: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.7/guide/ingress/annotations/#group.name

nirpai commented 1 month ago

@galovics You don't need to create a new load balancer in advance. NIC would create a new LB for each ingress class and maps all associated ingress resources to the LB (those are related to the ingress class).

galovics commented 1 month ago

@nirpai are you saying that each defined IngressClass is always associated to the same and single OCI Load Balancer?

nirpai commented 1 month ago

Yes.

galovics commented 3 weeks ago

Oh okay, that wasn't clear in the documentation but good to know. I'm going to close this issue then. Thanks again.