Ingress
An Ingress exposes HTTP and HTTPS routes from outside the cluster to Services inside it.
An Ingress exposes HTTP and HTTPS routes from outside the cluster to Services inside it. An Ingress defines rules, such as host names and paths, and an ingress controller implements them. An Ingress object has no effect without an ingress controller in the cluster. Ingress handles only HTTP and HTTPS traffic. To expose other protocols, use a Service of type NodePort or LoadBalancer.
In Cloudera Cloud Factory, a cluster can use the preconfigured ingress controller, which uses the ingress class ccf, or an ingress controller that you install. Select the class on your Ingress with ingressClassName: ccf. For the procedures, see Ingress through the bastion in Exposing applications.
The Ingress API is frozen. Kubernetes adds new routing features to the Gateway API instead.
Key defaults and limits
- The
ingressClassNamefield replaces thekubernetes.io/ingress.classannotation, which is deprecated since Kubernetes 1.18. - To make an ingress class the default, set the annotation
ingressclass.kubernetes.io/is-default-classtotrueon the IngressClass. - Path types are
Exact,Prefix, andImplementationSpecific. When several paths match, the longest path wins, andExacttakes precedence overPrefix. - A wildcard host such as
*.example.commatches a single DNS label.
For more information, see Ingress.
