Hi everyone,
I am a bit confused about the ingress.spec.ingressClassName concept in the Ingress resource, and I have a few questions that I need clarification on before my CKA exam:
- Is ingressClassName Spec Required in Ingress Resource?:
When writing a YAML for an Ingress resource, is the ingressClassName specification required? Or will Kubernetes automatically detect the correct Ingress controller without needing to specify it in the Ingress YAML?
- IngressClass for Deployed Ingress Controller:
If the ingressClassName is required, do we need to find the ingressClass created for the deployed Ingress controller and mention it explicitly in the Ingress resource? Or is it assumed that the appropriate class will be used by default?
- Creating an IngressClass for the Controller in the Exam:
In the CKA exam, if the IngressClass doesn't already exist, are we expected to create one for the controller and mention it in the Ingress resource YAML, or should we rely on default settings if applicable?