A cluster runs two Ingress controllers. The developer must ensure the civic Ingress is handled by the controller associated with class nginx. Which field selects that controller?
Select an answer to reveal the explanation.
Short Explanation
When two postal carriers work the same city, you stamp which one delivers. ingressClassName points the Ingress at the IngressClass for that controller. Putting the app in the controller’s namespace is not how class selection works.
Full Explanation
spec.ingressClassName associates an Ingress with an IngressClass, which is bound to a controller. That is the supported way to choose among multiple controllers. Namespace placement, inventing a serviceName field on Ingress, or naming defaultBackend after a controller Pod does not select the implementing controller.